Couchbase Server

Refactor btree statistics code and make it more complete (percentiles, key/value sizes, etc)