Allow auto-registering of JAX-RS resources that are classes, not just interfaces