If there are no endpoint classes in the archive, one cannot really
register the endpoint programmatically. Moreover, the filter was not even
registered in this case. So cleaning it up.
TYRUS-235: Findbugs in tests and CDI sample
Merge remote-tracking branch 'upstream/master'