SERVER-16518 listCollections response changed to cursor object form

As a temporary compatibility measure, the legacy behavior is preserved
if the "cursor" option is not sent with the command.  This
compatibility layer will be removed as part of work for the parent
ticket.
Merge remote-tracking branch 'upstream/master'