Fix semicolon at end of font_formats bug

A semicolon on the end of the font_formats string causes TinyMCE to fail, since it splits off the empty string at the end of the input, and tries to parse it. Simple rtrim in a replace statement fixes it.
Fix the newline I introduced...
Merge pull request #351 from ahamilton9/patch-1

Fix semicolon at end of font_formats bug