Validation/Auth Flow

Changes:

 - Working prototype for new auth flow
 - Separate dev/production build tasks.
 - Grunt tasks for testing with QUnit.
 - Better IE8 fallbacks.