Fixed error with random courses call, api wasn't returning on err.
 Changes to be committed:
	modified:   public/js/sos.js
	modified:   server/courses/courseRoutes.js
	modified:   server/questions/questionRoutes.js
	modified:   server/server.js
Updated $stateProvider to use nested states. Precursor for linking up authentication to states.
 Changes to be committed:
	modified:   public/js/directives/nav/nav.html
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	new file:   public/templates/anon.html
	modified:   server/login/loginRoutes.js
authentication flags added to all states
Added jwt components.

 Changes to be committed:
	modified:   package.json
	modified:   public/index.html
Pushing up so I can grab on laptop. Not safe to merge.
 Changes to be committed:
	modified:   public/js/directives/login/login.js
	modified:   public/js/sos.js
	modified:   server/login/loginRoutes.js
	modified:   server/server.js
All API endpoints secured :D
 Changes to be committed:
	modified:   public/js/sos.js
	modified:   server/etc/passport-local.js
	modified:   server/login/loginRoutes.js
	modified:   server/server.js
Added new endpoint to grab list of programs without auth. Required for sign-up form.

 Changes to be committed:
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   server/courses/courseRoutes.js
	modified:   server/login/loginRoutes.js
Added TODOs
 Changes to be committed:
	modified:   server/login/loginRoutes.js
	modified:   server/server.js
Fixed stupid $resource configuration bug.
 Changes to be committed:
	modified:   public/js/directives/login/login.js
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   server/login/loginRoutes.js
User store set up!!! UI also now reacts to state!!!!!
 Changes to be committed:
	modified:   bower.json
	modified:   public/index.html
	modified:   public/js/directives/login/login.js
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   server/login/loginRoutes.js
Grouped code by functionality.
 Changes to be committed:
	modified:   public/index.html
	renamed:    public/js/directives/login/login.html -> public/js/login/login.html
	renamed:    public/js/directives/login/login.js -> public/js/login/login.js
	renamed:    public/js/directives/nav/nav.html -> public/js/nav/nav.html
	renamed:    public/js/directives/nav/nav.js -> public/js/nav/nav.js
	new file:   public/js/questions/question.js
	new file:   public/js/register/register.js
	modified:   public/js/sos.js
Question hook-up almost done. Can post questions, will only show courses and questions pretaining to signed in user.
 Changes to be committed:
	modified:   package.json
	modified:   public/js/questions/question.js
	modified:   public/js/sos.js
	modified:   public/templates/newQuestion.html
	modified:   public/templates/questions.html
	modified:   server/etc/passport-local.js
	modified:   server/login/loginRoutes.js
	modified:   server/questions/questionRoutes.js
	modified:   server/users/userRoutes.js
Questions doneeeee. Look at Issues on github for know issues.
 Changes to be committed:
	modified:   public/js/login/login.js
	modified:   public/js/questions/question.js
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   public/templates/questionDetails.html
	modified:   server/questions/questionModel.js
	modified:   server/questions/questionRoutes.js
Returns more info when user logs in, settings page up, password reset not wired.
 Changes to be committed:
	modified:   public/index.html
	modified:   public/js/login/login.html
	modified:   public/js/login/login.js
	new file:   public/js/settings/settings.js
	modified:   public/js/sos.js
	modified:   public/templates/settings.html
	modified:   server/login/loginRoutes.js
	modified:   server/server.js
My posts also done and wired :D
 Changes to be committed:
	modified:   public/index.html
	new file:   public/js/myposts/myposts.js
	modified:   public/js/questions/question.js
	modified:   public/js/sos.js
	modified:   public/templates/myposts.html
	modified:   server/questions/questionRoutes.js
Market hooked up, for now method to contact seller is via email.
 Changes to be committed:
	modified:   public/index.html
	new file:   public/js/market/market.js
	modified:   public/js/questions/question.js
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   public/templates/dashboard.html
	modified:   public/templates/market.html
	new file:   public/templates/newMarket.html
	modified:   server/market/marketModel.js
	modified:   server/market/marketRoutes.js
	modified:   server/server.js
Merge pull request #49 from Zappeion/pv

Pv