Fix race condition where done() would be called before all async file tasks were actually done.
Misc cleanup: Use Grunt error log, ignore IntelliJ files
Merge pull request #1 from evictor/master

Fix to common race condition + other minor cleanup