Bug 821329 Set charCode of keypress event when TextInputHandler::InsertText() is called without native key event r=smichaud