Reset state to idle when space inserted

Fixes #2.  If a space is inserted, it must have been the first letter
typed, otherwise the menu would have come up.  We never want to look up
these spaces -- we know what they're for.  Just do the hiragana
insertion, then reset kanji startpoint and set state back to idle, ready
for the next input.