Added base64 btoa and atob shims and tests.