bug fix when not loaded over http or https
added grunt-connect
added demo page
Added logout method, changes to  login method to provide error callabck
Add a lot here mainly automatic permission dialog when requesting data
Added warning if now app id found in config fixes #1
The dist dir is now r.js optimized
Added a safari cookie fix
"shorthand" for having an optional callback