grunt 0.4 compatibility
fix missing trailing slash
Merge pull request #2609 from stuartf/grunt04

fix grunt support for 0.4