add index.js to gulpfile
add test coverage for `readFn` and `mapFiles` methods
support loading templates from json files
adds editorconfig
more tests