Bug 1093477 - Remove usage of mocks in KeyboardManager/InputWindowManager unit tests

Use stubbed InputWindowManager.prototype and InputWindow.prototype instead.