update templates to ejs, use partials, change references back on gruntfile, update ejs version