adjust clean task to work better in dev environments

clean used to remove the build/ directory completely. This was not intended
behaviour. Instead a downloaded version of nodes.json should be left untouched.
fix problems with list view

jquery.tablesorter had not been loaded, so sorting did not work. Now it's
setup properly using requirejs shims.
Merge pull request #95 from johnyb/minor_fixes

Minor fixes