Grunt v0.4.0 update.

Made the contrib plugin compatible with grunt v0.4.0, whilst keeping as much the same as possible (style wise) – functionality is preserved.