added support for modified Base64 for URL

added support for modified Base64 for URL per http://en.wikipedia.org/wiki/Base64#RFC_4648