Make base64 encoded values URL-safe, make all "num" types use double as underlying dart type

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//543363003