Fixed SpanQueryTags not handling nested tags properly
XML tag indexing and search improvements.

* Both start and end tags are indexed at the following token now (a
dummy token may be added at the end of the document to index any final
tags)
* Changed SpansTags to deal with empty XML elements between tokens. This
was a problem because we don't know the order of tags between tokens at
search time.