chore(Gruntfile): #1112 - Move custom task functions into Gruntfile