Hooks

I don't know what's up with the end of file newline, all my editors seem to add it, but knex seems the outlier on this count as far as what's usual. I only added the 'after' hook to the query, but as you can see hooks should be easy to add wherever you want them. I was going to have a 'before' hook too but it really didn't make any sense.