Log detailed build matrix information when matrix is in invalid state

The original motivation for accounting for 'created', 'queued' and
'started' states was to eradicate 'Invalid job state' errors we were
seeing in the wild, but upon further reflection, we believe this
should not happen.

Unfortunately, we are not sure about the real reason for the invalid
state, so log more information about the matrix instead, in order to
gain more insight.
Remove #matrix_state specs

These aren't needed
Added duration variable to notification template. Fixes travis-ci/travis-ci#1427
Merge pull request #326 from Joshua-Anderson/build-duration

Added duration variable to notification template. Fixes travis-ci/travis-ci#1427
more stubbing
Revert "more stubbing"

This reverts commit ef1b4421a8e0ac59c8e9b0cfd8c8cec1e1b8b506.
fix services/sync_user/repositories_spec to not mix our own stubs with rspec stubs (just because that's confusing)
Merge branch 'master' into hh-add-links-to-jobs