Added content type negotiation using headers

Implemented the same way as method negotiation. Not sure if the default accept type should be 'html' or 'view' or something else.
Specifying the accept-type as HTML would seem to imply that the resource should respond with an HTML representation. As views are free to respond or not, maybe this is misleading..