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

...n code

**do not review yet**
this is actually needed for functions that reference the configuration. I am open to other suggestions for how to get this information, but this seemed like the most obviousc choice to me.

@cos, you need this for what you want to do with strategies, can you provide your opinion here?