[Issue #285] Add a way to ignore certain sgml tags while searching for
closing.  Fix bug with backward motion and tag name being too long.