automatically add 'use Behat\Behat\Exception\PendingException;' when needed

Re: #315 --append-snippets does not know if PendingException is used