Resolve a bug in TransactionHook.

This commit makes TransactionHook more robust so that it isn't as susceptible
to failure when exceptions occur in *other* PecanHooks within a request.
Merge pull request #207 from ryanpetrello/next

Resolve a bug in TransactionHook.