Clean-up of clean and build scripts.

* Fix duplicate of mindgrid pak in built app.
* Make clean script more sane.
* Separate cleaning and building.