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

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix copy paste mistake
Merge pull request #1445 from tardyp/duration

minor duration fixes