Fixes #9. Made com.jolbox.bonecp.hooks dependency optional for OSGI.