SERVER-15271 rocks engine doesn't return capped information in RocksRecordStore::appendCustomStats()

Simply copy the logic from HeapRecordStore::appendCustomStats() to RocksRecordStore::appendCustomStats() which would pass the dbadmin.js.