Revised compile function
Revised compile function

This PR prevents possible issues when calling `riot.compile(url, callback, options)` with options.entities set.
Also, makes `riot.compile(string, true, options)` consistent with `riot.compile(url, callback, ...` when using a function instead `true` as 2nd parameter.
The callback of both overloads receive the compiled code, the original source, and the options passed to `riot.compile`, if any.

muut/riotjs,muut/riotjs,crisward/riot,crisward/riot