SERVER-13635: make index check in sharding use listIndexes
SERVER-13635: use consistent method for checking capped size
Merge remote-tracking branch 'upstream/master'