Updated Grunt file to support subdirectories when finding templates in page and common folders