Re-coded the minification functionality using the code style for functionality triggered by events.

Merge remote-tracking branch 'origin/master'

Conflicts:
	client/app/main/main.controller.coffee
	client/app/main/main.html