Corrected issue with outputdir trailing slash

Corrected per the comments from @cajones.
Updated dependencies list

This is to allow 'grunt build' to run successfully when the 'production'
switch is used with npm install.