Docs:  Updated the PHP API authentication example to work on both 32-bit and 64-bit systems.
terminal_input.js:  Modified GateOne.Terminal.Input.capture() and GateOne.Terminal.Input.disableCapture() to use addEventListener and removeEventListener instead of things like onmousedown, onpaste, etc.
terminal.js:  Moved the logic that creates the screen+scrollback elements from GateOne.Terminal.termUpdateFromWorker() to GateOne.Terminal.newTerminal().  This should fix the bug where sometimes the bottom of a terminal was behind the playback controls.  Sounds like a counter-intuitive fix because it was a real pain to figure that's what was causing the problem!
terminal.js:  Moved the logic that creates the pastearea from GateOne.Terminal.newTerminal() into its own function:  GateOne.Terminal.newPastearea().  Also cleaned up newTerminal() a bit.