adding grunt 0.4.0 compatibility. closes #3. closes #4. closes #2.