Added basic tests.
Updated POM with jUnit test-scope dependency.
Cleanup encoder to use same scheme as signature section; Firebase servers can handle both, but safer to use the URL safe encoding in both places.
Updated minor version.