Added Url Encoding. Added .gitignore.

I am using your bower package to do some JWT authentication in Angular. 
Part of the JWT spec is to do base64 Url encoding which means removing some non-url safe characters from the base64 encoded string.

I've added these methods.