Fix parsing of Accept header.
Fix parsing of Accept header.

JSONAPI 1.0 specification says:

“Clients that include the JSON API media type in their Accept header MUST specify the media type there at least once without any media type parameters.”

That means, that there may be other acceptable MIME types, which the string comparison that was in place before prevented.

This should also help with issue #13.
miLibris/flask-rest-jsonapi