Ensure exit code is correct for `ember test` with failing tests.

Fixes #1115.