Pasting support has been improved from basic to intelligent

Improved support for keypress events of special keys in Firefox
Fixes an issue with pressing the del key in Firefox
Fixed some bad examples in the demo (bah!)
Fixed several instances of bad boolean evaluations from occurring
Merge pull request #10 from Mathachew/dev

Firefox and demo improvements, and intelligent pasting