Show latency between state transitions in dashboard

Job details page now show latencies between state transition. This is very useful to investigate why it takes too much time to process a job.

![2014-05-20 17 23 19](https://cloud.githubusercontent.com/assets/1078718/3027349/0e109a00-e022-11e3-828c-eca50c848f4a.png)