improved build cmd: if default build script is added by hand in the bundle, project.json gets updated on build
fixed models inheritance and config, server and models events