Remove base64 dep

Remove base64 dependancy.

All modern browsers have the `btoa` function. If github.js is used by node an npm module has been included to replicate the functionality.