Revise Compiler API.

A step closer to a proposed API.

Remove unused Reporter params
compileScript maybe?

and add compileModule which is just an alias for compile for consistency?