#461 Fixed regexp for sentences links.

The links are now generated if #123 is at the start of the string, or
has a space/return character before.

Also moved the function from MessageHelper to ClickableLinksHelper.