prepackage server resources, instead of downloading them on post-install

also:
* save the server version against which the package is built into config.json
* fix the misleading build errors cropping up in the build log