Make lookup of Grunt tasks more resilient (#1)

As `npm` sometimes pulls common dependencies out of their dependant's
`node_modules`, we need to perform a search up the directory tree to
make sure we find the module we're looking for.