Behat configuration throws an error on load if config.behat is not defined

behat.js cannot currently load if Gruntconfig.json does not have a behat key configured. I've added an extra check to fix the immediate error, but we may want to follow the pattern in PHPCS and PHPMD, and simply not configure a behat task if that key does not exist.