Fix #1 Popup blocker interference

Now works if the login function is called from an `onClick()`.
Make popup less early
Both browser and node examples seem to work
Add missing license type stuff
Made grunt serve server-side client example
Fix grunt watch

The livereload for the demo server does not actually work.
It is disabled for now.
Decode/Verify id_token
Fix server-client example
Implement OADA version of client_secret

Need to try to integrate to know if it works.
Fixes errors when token endpoint fails

Checking for parameters existence stops the server from ending when the token endpoint fails.

Not try to parse the token if the token endpoint response was OK.
Incorrect Error Check
Merge pull request #1 from abalmos/patch-1

Fixes errors when token endpoint fails
Fix client_secret

The kid JOSE header was wrong.
Ended up patching jsonwebtoken to fix it. awlayton/node-jsonwebtoken@b82831b
Fix bad stuff from pull request #1 from abalmos/patch-1
Add predeploy script to package.json

Need for minifying, browserifying, etc.
Fix license in package.json
More package.json stuff