JERSEY-1661: AsyncResponse#register(Class<?>) throws IllegalArgumentException

 - fix + tests

Change-Id: Ia7c2d6eae59bd719251f7971d4cc94c187ee78bb