minor duration fixes

Now that we have builds > 1 day, we need to support that in the UI.

Switch to andras proposition for formating with moment.js