Added support for JS functions, and Scala fun -> JS fun.

Proof of concept with functions up to 2 parameters. Also only
for functions taking and returning types <: JSAny.
Fixed escaping in string literals and identifiers.

(When emitting the .js files.)