Adds gitignores for the public folder.
Improves error system.
Improves Gruntfile.