Mention and emoji popups should only occur at start of line

This PR enhances the emoji and mention atwho regexes to only trigger at start-of-line or after whitespace.