lib: fix ReferenceError bug when not using function during defineHook
deps: add tea-extend dep
lib: primary export now returns function to use with mixin
tests: add tests for all functionality
Release 0.1.0