<fix> Various fixes to ServicesAPI

- Introduce chai and test base for easier unit testing
- Capture dependency on pyOpenSSL
- Simplify use of unicode in ServicesAPI
- Fix warning in oauth library
- Fixes to deal with missing or badly formatted data