Baking in authentiation.
 Changes to be committed:
	modified:   package.json
	new file:   server/etc/passport.js
	modified:   server/server.js
	modified:   server/users/userModel.js
	modified:   server/users/userRoutes.js
User registration form. Needs to get wired to rest api.
 Changes to be committed:
	modified:   public/js/directives/login/login.html
	modified:   public/js/directives/login/login.js
	modified:   public/js/directives/nav/nav.html
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	new file:   public/templates/signup.html
	modified:   server/courses/courseModel.js
	modified:   server/users/userModel.js
	modified:   server/users/userRoutes.js
More fixing.
 Changes to be committed:
	modified:   package.json
	modified:   public/js/sos.js
	modified:   public/templates/signup.html
	modified:   server/users/userRoutes.js
Pushing users to server.
 Changes to be committed:
	modified:   public/js/sos.js
	modified:   public/templates/signup.html
	new file:   public/templates/success.html
	modified:   server/etc/passport.js
	modified:   server/server.js
	modified:   server/users/userModel.js
	modified:   server/users/userRoutes.js
Removed unused module from package.json and extra join line from server
prepping for merge with jg-2 branch
Merge remote-tracking branch 'remotes/origin/jg_2' into pv

Conflicts:
	package.json
	public/js/sos.js
	server/courses/courseModel.js
	server/server.js
	server/users/userModel.js
	server/users/userRoutes.js
Basic auth working, only implemented for courses, working on debugging local auth.
 Changes to be committed:
	modified:   package.json
	modified:   public/js/sos.js
	modified:   server/courses/courseRoutes.js
	new file:   server/etc/passport-basic.js
	new file:   server/etc/passport-local.js
	deleted:    server/etc/passport.js
	renamed:    server/models/helpers.js -> server/helpers/helpers.js
	renamed:    server/Market/marketModel.js -> server/market/marketModel.js
	renamed:    server/Market/marketRoutes.js -> server/market/marketRoutes.js
	modified:   server/server.js
	modified:   server/users/userModel.js
Passport-local authentication is finally working properly. We now are logging in using a /login api. Which posts and recieves back an object containing a message. Error messages still need to be hooked up and the rest of the routes have to be updated to use authentication, so far only course has been updated.
 Changes to be committed:
	modified:   public/js/directives/login/login.html
	modified:   public/js/directives/login/login.js
	deleted:    public/js/questionTest.js
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	deleted:    public/test_question.html
	modified:   server/courses/courseRoutes.js
	modified:   server/etc/passport-local.js
	new file:   server/login/loginRoutes.js
	modified:   server/questions/questionRoutes.js
	modified:   server/server.js
Hooking up registration.
 Changes to be committed:
	modified:   public/js/directives/login/login.js
	modified:   public/js/sos.js
	modified:   public/templates/signup.html
	modified:   server/login/loginRoutes.js
	modified:   server/users/userRoutes.js
Using Q promise utility library to handle async calls within user routes. This should start getting implemented everywhere else where multiple asyschronous calls get used and we need something to happen _after_ something else. User registration now linking subscribed, enrolled, and program to user document. :D
 Changes to be committed:
	modified:   public/js/sos.js
	modified:   public/partials/header.html
	modified:   server/users/userRoutes.js
merged pv branch to jg_2,
implemeneted market post and get routes