Jhbate/add platform

initial PR that includes the now uses the platform client

- added travis build
- extract interaction with the tidepool platform into api and use the platform client
- log errors to the tidepool platform for diagnostics