build: Create minified JS and CSS distribution files

Using uglify for JS and cssmin for CSS.

Also take the opportunity to clean up the different modules and label each
section of the Gruntfile.js with what they do.

Change-Id: Ic8f8194141d644804d3378556ea126ba8597584c