Fixes #1. Inspect Accept header and return proper Content-Type.

Returns Content-Type of 'vnd.collection+json' for API requests if client specifies 'Accept: vnd.collection+json'. Otherwise, send 'application/json'.