Fixed spurious MongoDB failures due to bad asynchronicity.
Improved reliability of LevelUp persistence tests.

Still the 'database not open spurious failure remains'.
merge from upstream/master