Added Travis CI test support
Updated .gitignore
Allow hooked methods to be controlled
Added tests for basic use cases