Fixing Curacao's DI mechanism to handle Java interfaces too.
Fixes https://github.com/markkolich/curacao/issues/4