Provide a base64 encoder compatible with URLs
Summary:
URLs don't like some characters used in base64 like '+' or '/',
and padding isn't useful in this context.
Ref T1609.
Test Plan: Unit tests provided
Maniphest Tasks: T1609
Differential Revision: https://devcentral.nasqueron.org/D2276