Encapsulate Base64 calls in a single component

Handles https://github.com/Jasig/cas/issues/760
To be honest, I'm not a super fan of the name of this class even if I don't have a better one. I thought: ```TransformationUtils```, but it's not very clear.