Tests can rely on Javascript sleep() function.

Introduced in MongoDB 1.9, and we now only test back to 2.2.
Use a monotonic clock if possible.
Optional packages: backports.pbkdf2, pykerberos, monotime.