Add integration tests for /debug/status.
Merge branch 'bson'