Bug 1020847 - Add handwriting IME for Simplified Chinese.

I guess we need four maps to keep the following relationship?

    DOM <-> target object <-> canvasView

How about let's generalize the `canvasViewMap` into `viewMap` and `reverseViewMap`? Eventually we want to make all the UI components as views and this is a good start.