Fix tests and build

  - run `localScenario` as part of `npm test` again
  - run `grunt build` as part of `after_success` hook, but only if it is
    not a Pull Request