adds tests for most of the hooks
adds hooks into engine calls; also does some rearranging for ease of later testing
switches from print to a wrapper function (for later unit-testing ease)
skip_auth -> offline
should return false on hook abort, removes erroneous print statement
updates README to include info about hooks
removes superfluous print from testing code
Merge pull request #61 from haaksmash/feature/61-hooks-line-and-sinker

Support hooks