added build.properties support and per-module code templates refs #77, #116