Move to Grunt 0.4.0

Updated Grunt implementation to 0.4.0. I tried to implement jsHint but one of the RegEx wouldn't lint properly.