fix #5
 improve edge case where font is inserted on a line that has subsequent whitespace after cursor
JSLint formatting fixes
Merge pull request #149 from adobe/couzteau/fix-issue-5

Make font insertion smarter, so that a comma is inserted after the inserted font name if necessary