Changed grunt test to check if using saucelabs or pull request or local