Add more tests for tag matching.
EvilCaret hack is necessary to match tag when cursor is on end bracket.

Visual mode moves the cursor 1 to the right, meaning the XmlTag code wouldn't select an element.