SERVER-15121 When doing renameCollection across databases, close the iterator used for the copy before dropping the source collection.

Closes #763

Signed-off-by: Benety Goh <benety@mongodb.com>
Merge remote-tracking branch 'upstream/master'