written password reset handler
written password reset controller
added the token generator and its getNewToken function
writen getUserIdFromToken
token based reset works
cleaned up old password reset cruft
Merge branch 'master' of github.com:sharelatex/web-sharelatex
added some logging