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
yeah started adding mock but then felt it was out of the scope of what I am trying to do here. Will delete it