Update ctrl command parsing for python3

* make parse() return command id in addition to variable name and value
* introduce parse_kv() wrapper which ignores that id and use it instead
  of old parse()
* make parse() compatible with python3 where we got bytes, not string
  from the socket so we have to decode it properly before using split()
* expand test_py3.py with simply asyn server which verifies that
  osmo_ctrl.py works properly

Change-Id: I599f9f5a18109929f59386ab4416b8bfd75c74d1
5 files changed
tree: 9a6a8510226b8a18137f37784df9814d9bc106e2
  1. contrib/
  2. osmopy/
  3. scripts/
  4. tests/
  5. .gitignore
  6. .gitreview
  7. README
  8. setup.py