Improved websocket binary support detection

A facke connection to 'wss://localhost:17523' (randomly chosen) to detect
the WebSocket binary support is not the best solution.
First of all, check of prototype has the property 'binaryType'. If not,
perform a dummy connection to 'wss://.' instead of 'wss://localhost:17523'.

This patch was inspired by the discussion and implementation of Modernizr:
https://github.com/Modernizr/Modernizr/issues/370
https://github.com/Modernizr/Modernizr/blob/master/feature-detects/websockets/binary.js
Removed unused code.
Add a prototype from MDN for indexOf to be used in browsers where it is not supported.
Added alt-values to the control-bar buttons.
* On slow servers where the button-images can be slowly loaded it can be useful to see some relevant text instead of "Submit query" on every button.
Merge pull request #347 from dol/fix/better-ws-binarytype-detection

Improved websocket binary support detection
Make sure that the default value of the hidden input field is a space.
Aim to disable text suggestions and the like
Change type of keyboardinput to password to make sure that you can write parenthesis on iOS devices.
Attempt to change the behavior of the enter/go-key on touch devices, we want it to be Enter.
* This code works in Firefox on Android and on Chrome and Safari on iOS.
* It does not work in Chrome on Android, the enter key is labled "Go" and closes the on screen keyboard when pressed.
Fixes issue 344 - problem with backspace on Android.