Fixed the display of the build in the list of requests

Closes travis-ci/travis-ci#2667
fixed the display of the state icon in the request page
Merge pull request #295 from stof/patch-1

Fixed the display of the build in the list of requests
Merge pull request #296 from stof/patch-2

Fixed the display of the state icon in the request page
Remove outdated specs
Fix specs

For some reason mocked ajax queries don't fire when build page is opened
directly in specs. I don't want to go into detail at this point, because
I plan rewriting build/job related views and controllers to decouple
repo controller anyway, which should fix some of the oddities.
Fix some of the issues with duration sometimes not showing up

* duration was not actually defined in Travis.Job, which may have caused
  bugs when combined with partial record loading (so for example it was
  ok on a refresh, but may have been broken on update)
* notStarted was not a dependency of duration
Duration is not returned before build is finished