minor changes from recent merge
switching to class true method for to_schema() for #52
update error handlers to use g.error
simplified error handling (tests were testing more than necessary/were difficult to use in the new system)
moving before_request into testutil
fixing call
cleaning up usage