Added convertToMOTD function

Other changes:
- Added & sign to the regex
- Added an option to replace \n with <br />
- Updated year in copyright ;)