Fix #677 : add a listener mechanism in MSurfaceView::dispatchKeyEventPreIme