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
I am already using chrome.storage.local as part of main.js for storing configuration/login info. Whatever we do there should probably wrap that as well.