fixes issue with base64 decoding twice when generating tokens

* adds tests for default token generation #11
* adds Helpers class for static methods used in tests
* adds commons-codec dependency for base64 encoding
* Helpers uses a more concise HMAC-SHA1 signing routine than util.GenerateMac