"Abstracted" websocket connection from libpebble.js.
PBL-5201: Use data: iframe to jump over mixed content policies.
Oh hey, Firefox support.
Improve modal dimming behaviour on non-webkit browsers.
PBL-5187: Merge branch 'bugfix/mixed-content-hack'

Fixes upcoming Chrome issues. Also gets us proper Firefox support.