Fixes #9. Removed static references to Guice's internals.
Fixes #9. Made com.jolbox.bonecp.hooks dependency optional for OSGI.