Add tests for mention detection.
Fix  space before @ of mention after linkifying.
Fix linkifying of mentions at begin of line.

Fixes #96.