Bug 1075306 - Implement InputWindow (inherits from AppWindow)

- Instances of InputWindow replaces those iframes we were keeping in InputFrameManager.
- InputAppTransitionManager has been eliminated, in favor of already-built AppTransitionController that works closely with AppWindow.
- The coupling of KeyboardManager, InputFrameManager and InputWindows shall be resolved in a following bug where we'll implement InputWindowManager.
- Flow of showing/hiding/reusing/switching input apps & layouts has been streamlined.
OK, but at least you need mozbrowsererror event to destroy yourself.
Please move it from keyboardmanager to here.
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/keyboard_manager.js#L282
And do the proper operation - should be listen to terminated event in inputWindowManager to remove the inputWindow from instance.