Bug 899847 - Rework public api to conform to v2 of the spec.
Merge pull request #4 from lightsofapollo/hostapiv2

Host API V2