Make tag autocompletion work if closing angular bracket is already inserted

This makes it work with other plugins like delimitMate which automatically insert a '>' after the opening tag.

Fixes https://github.com/sukima/xmledit/issues/41