Set up an optimized build

Closes #26 and #27. Note that CSS doesn't get minified yet as that
doesn't seem to work correctly for unknown reason (cssmin issue?).

Also the JS could be set up using RequireJS so that it tries to load
some from a CDN.