Added util classses which implement jersey auth endpoints and security

filters for users of jerseys. Supporting classes are abstracted wherever
possible.
Yeah, I was running into a block, I didn't know how to do something dynamic (like choosing which impl) in a static block. I was going down the road of generics, but that won't work for a static field.