PR #4078
Merge branch 'Mech7-fix-db-resource'
Wrote test proving assertion

- Test adds listeners to each event; listener sets a flag to the value
  of the "stop propagation" flag of the event, and then in turn sets
  that flag to true.
- Ideally, the first listener should _never_ see the stopPropagation
  flag set to true; it should be false prior to triggering the event.
Resolve issue with event propagation

- Better testing for event propagation issue
  - In the case of the route event returning early, a response was
    always returned by run(). Updated to use a data provider, and
    first test the route event, and then test with all other events.
- Solution was best implemented in the EventManager by setting the
  propagation flag prior to executing triggerListeners().
Add tests to EventManager for propagation issue

- Tests that both trigger() and triggerUntil() will reset the
  stopPropagation flag as they start their work.
Merge branch 'hotfix/propagation-flag' of github.com:weierophinney/zf2 into hotfix/4147
Merge branch 'hotfix/4147' into develop

Forward port #4147