Make `compiler.compile` to synchronous.

There was no need for it to accept a callback.
Remove callback from `compileSelect`.
Remove all callbacks from `compile` internals.