Fix mention processing bug

Calculate the text using the original text, not a progressively modified
one. (Shared state!)
Add search API to Client
Make DataCollectionTrait work w/ Nulls
Fix account mention page
Finally fix the TextWithEntities problems