Make calculatePendingRanges asynchronous
Patch by Ryan Fowler, reviewed by brandonwilliams for CASSANDRA-6244