Fix EntityManagementSupport race for changeListener (0.5 branch)

Cherry-picked into 0.5 from master (see https://github.com/brooklyncentral/brooklyn/pull/653)

- Fixes race where effector called post-exec listener concurrent with app.stop(), which unmanaged the app.
  Caused exception, and thus test's tearDown to fail.