Added content type negotiation using headers
Use generic comparator method for method and accept type matching
Pass comparator name as separate parameter
Merge pull request #7 from aaronhaines/master

Added content type negotiation using headers