Add isCapped(callback) method to collection.js