Fix for JERSEY-1997: EJB/CDI integration does not work for JAX-RS providers, only for resource classes

 - fixed application handler to give ComponentProvider a chance to register other than resource classes
 - added EJB based tests to make sure a filter could be @EJB injected

Change-Id: Ib741024d95e056443ba8171f42e538763d891f3a
Signed-off-by: Jakub Podlesak <jakub.podlesak@oracle.com>