Merge pull request #420 from mtigas/master

OSX: fix compatibility with BSD `mkdir`.
Add a Gruntfile.
Merge pull request #422 from arlolra/252-jshint

Add a Gruntfile.
fork note
Merge remote-tracking branch 'upstream/master'