Make JS compatible with the configuration page. Fix other C stuff as necessary.
Merge branch 'master' of github.com:SkipstoneApp/Skipstone

* 'master' of github.com:SkipstoneApp/Skipstone:
  Added basic button control support
  New icons for XBMC control
  Small JS syntax error

Conflicts:
	src/js/pebble-js-app.js
Fix small bugs and errors thrown by jshint (requestObj not using dot notation).