Add test for pull request #284
Modified #284 so it would only check for "application/json" in the begining
since firefox kindly adds to the headers information it chooses at the end
per request from @rnewson
Merge branch '1.x.x' of https://github.com/olafura/couchdb into 1.x.x

Conflicts:
	src/couchdb/couch_httpd.erl