reorganize all grunt tasks into one directory

Reorganizes all the grunt tasks into one `/grunt/`directory.
Also fixes #12581.