Bug 1100777 - Create LayoutPageView component.

There are still several parts, like resizeUI and candidatePanel related code that would depend on `activeIme`, and even worse, the unit tests would also reference that.
So I would like to postpone this refactoring to the next bug, if you think this is OK.

Thanks.