Added content-type check as per issue #193
Redefined test for #193
Merge pull request #660 from rubenvereecken/issue193

Added content-type check as per issue #193
Fixed SgmlLinkExtractor constructor to properly handle both string and list parameters (attrs, tags, deny_extensions)