httpbakery: add assert argument to CheckRequest

Also change it to return the information declared.

This is the first support for "declared" outside the checkers package.
comment here as well please