inital work for spa and api docs
refactor all the spa api stuff
Merge pull request #26 from auth0/spa

docs refactoring