Added grunt-contrib-cssmin and modified grunt-ejs task. Added if statement to footer and some fixes in gitignore