Switch to nsIAutoCompleteController::handleEndComposition()

Fixes #30.