improved alloy.jmk for jade to support templates and includes