add bin for compile/render/build templates
add tests for bin/swig.js