add sorting by number of threads
When a user is logged out, NB HTML is less obtrusive and only shows a 'Login to NB' button.
merge w/master
backend for logging
add Grunt stuff back for analytics
add logging to front-end
Merge branch 'analytics-log' of github.com:jenkliu/nbproject into jenkliu-analytics-log

Conflicts:
	Gruntfile.js