fix housekeeping code

- the master expiration timer was not really started
- integration issue with the finishStep

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
bump guanlecoja version to latest

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Merge tardyp/buildbot:guanlecoja (PR #1444)
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>
update unit tests

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

minor duration fixes
add comment for serializing remoteCommand
Use 0/1 for hidden, since it's a smallint

Fixes #3092.
optimize complete=false query

- This query is run from the home page
- This query runs at each master stop/disappear

Its very easy to optimize

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
simplify the doc

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
add failing test case for _masterDeactivated
Remove extra quotes.
Remove extra logging
Don't display a leading zero for the first element of the duration.

5 minutes 8 seconds is 5:08, not 05:08
Merge pull request #1448 from djmitche/bug3092

Use 0/1 for hidden, since it's a smallint
Merge pull request #1450 from benallard/patch-1

Remove extra quotes.
Merge pull request #1449 from tardyp/complete_optim

optimize complete=false query
Merge pull request #1443 from tardyp/housekeeping

fix housekeeping code
Display the date when the build was done