Add a is_webapi_handler field to WebAPIResource.

This field allows for introspection by middleware to know that a view
it's about to call is a WebAPIResource subclass.

Reviewed at http://reviews.reviewboard.org/r/4135/