replace newline characters with <br/>

Added function to replace newline characters with a <br/> so messages with multiple lines will display nicely.
![Before and After](http://i.imgur.com/NdvMcUn.png "Before and After")
changing whitespace back to tabs
Merge branch 'patch-1' of https://github.com/Flet/candy into dev