Add a content type check to the match algorithm.

We need to verify that the content type of the resource matches, iff
the author provides a content type as a `ct` parameter to the `ni` 
URI.