httpbakery: add assert argument to CheckRequest

Also change it to return the information declared.
Merge pull request #16 from rogpeppe/012-override-declare

httpbakery: add assert argument to CheckRequest