Refactored get, post, and put handling

This includes adding support for before and after callbacks
for post, put, and delete, and an after callback for get.

This also implements #6 and corrects #12.
fixed post callbacks' ability to modify results
fix after_put_callback
Merge pull request #15 from dankrause/issue_12

Refactored get, post, and put handling