SERVER-10382 add error code if count command is interrupted

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-7140 startup info is now printed on log rotate

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-10808 add __gcov_flush() call on exit

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-11032: Do not veto if primary is the node trying to be elected
SERVER-10471 fix win64 build by not going out of array bounds
SERVER-11035 fix count10.js MCI failures