remove line breaks in literals

Resolves problems with having a '\n' in the links.

Causes errors like  "GET

/plugins/%20%20%20%20code%20%20/%20%20%20%20code%20%20.js?_=1360492515383
HTTP/1.1", with  Firefox.

The changes to factory.coffee, are duplicated from
WardCunningham/Smallest-Federated-Wiki@cd51799, and changes.coffee also
modified as it introduces '\n' into links.

This is a know Coffee script problem (all be it closed) - see
jashkenas/coffee-script#240
Merge pull request #357 from paul90/coffee-lf-literals

remove line breaks in literals