abstracting gruntfile templating logic
abstracted project file templating and copying into separate functions