Update for API hostname change
AppVersion is now an int instead of a string.

This was causing JSON unmarshal errors when Devices() was called:

   json: cannot unmarshal number into Go value of type string

This patch fixes that, but this still seems fragile. :/
Merge pull request #3 from dgryski/api-host-update

Update for API changes