If a --gruntfile is passed in with --base use basedir from gruntfile

This is a fix for cases that use

`grunt <task> --src=./path/ --base=./ --gruntfile=/path/to/Gruntfile.js`