Merge master into maayan

Conflicts:
	app/css/app.css
	app/index.html
	app/js/app.js
	app/js/controllers.js
	app/login.html
	app/partials/create.html
	app/partials/single-gist.html
Added check for require outside node-webkit to prevent errors.