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>
update unit tests

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
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
Merge pull request #1451 from benallard/patch-2

Remove extra logging
Collapse the buildsummaries on the home page.
Merge pull request #1453 from benallard/build_date

Display the date when the build was done
Merge pull request #1454 from benallard/patch-1

Collapse the buildsummaries on the home page.
Merge pull request #1452 from benallard/patch-4

Don't display a leading zero for the first element of the duration.