Merge pull request #486 from patriot1burke/master

media type illegal char
RESTEASY-1047: TypeVar resolution
RESTEASY-1047: unit test
Merge pull request #487 from atzoum/RESTEASY-1047

Resteasy 1047
Merge remote-tracking branch 'upstream/master'
merge