Interface adapter: accept BoundFunction instances (in addition to NativeObject and NativeFunction

This fixes code that tries to pass a bound function to a java method that takes a Callable, as in, for example, executorService.submit(callback.bind(this, item));