Add improved support for HTTP response codes in cornice apps.

Change-Id: I35efe85794e761877edd06722952292a3cac5d85
Merge "Add improved support for HTTP response codes in cornice apps."