HG-119: Gzip resources on build step

Moved the `build.js` task to `build-all.js`. The new build task depends on `build-all` and only compresses the static resources if the environment is production.

The reason for that is that we need all the resources prepared, before `gzip`-ing them. Doing this on the fly leaves only the gzipped files without the originals, which we still need in case the client does not support compressed resources.
Not completely sure. From the tests it seems that it does wait for the stream, even when the callback is defined. Any idea how to return empy stream ?