use a global grunt install if no local install found

There's a problem with grunt-cli. It doesn't recognize a globally installed grunt, so one has to reinstall grunt for each project separately, thereby littering the project's file space. This patch fixes this issue.