Clean up bulk registration example.
Ensure Keys.js resides within it's own namespace in browser environments. Update examples
Change areDefined to check for nulls as well as undefined
Move logging functions into their own distinct section
Extract handleEvent into 'onInputEvent'. Add new methods 'enable' and 'disable'.