Added util classses which implement jersey auth endpoints and security

filters for users of jerseys. Supporting classes are abstracted wherever
possible.
This is the right place for it, the others were unused.