SERVER-8511 prohibit local db and oplog collection from being dropped while replication is active
SERVER-16059 Fix integer truncation issues with timeouts

* No longer converting from us to ms since that truncated to 0 at <1000us.
* Assuming each call to wait() takes at least 1us.
Merge remote-tracking branch 'upstream/master'