Revert "Added protected contentTypes array and requestHasContentType function"

This reverts commit 9dfdefbf4c9d695bc0d2125c30571ae37ff95a89.
Updated requestHasContentType to use the match method of the Accept
header object.

Change-Id: I7e43851c88692b5ea675393719f91d3a4ef379dd