updating to work with grunt v0.4.0rc5.

this PR is far from complete but there are things that are getting to need to be discussed so creating it as a placeholder that will eventually will be merge-able.