add javaBackendHooks method to AbstractKModule + clean up BuiltinFunctio...

...n code

**do not review yet**
I am not very comfortable with the idea of context being mutable and I have to set it during rewriting. I think this is error-prone.