Convert blackberry.app events to cordova

- use document.addEventListener / document.removeEventListener
- event object is returned in callback
- handlers for the following events must check property rather than string
    - keyboardposition: evt.position
    - orientationchange: evt.orientation
    - windowstatechanged: evt.state