Cleanup pending list prior to operation exec
Add pending termination on redirect+error tests
Run all page callback operations through cleanup

Ensures proper pending termination, etc.
Kill pending events on dispose
Doc callback reset
Merge pull request #23 from walmartlabs/terminate-fixes

Redirect and error life cycle fixes