XML completion bug fix

Set XMLContextTag position on closing tag char. Fixes getting parent
context tag.
Merge pull request #516 from Neverbirth/xmlimprovement

XML completion bug fix