Encapsulate Base64 calls in a single component

Handles https://github.com/Jasig/cas/issues/760
Can one of the ```deflate``` method rely on the other one by transforming ```byte[]``` into ```String``` or the opposite?