Added .editorconfig rules for hooks.
Added .editorconfig rules for scripts.
Converted Makefile target collect to .stage/collect.
Reset collect state after build.
Added more Makefile stages to speed up the build process.
Added BUILD_NUMBER to config/digabi.local.