Remove trailing space
cursor.close() returns a promise -- #2591
Typo
Propagate the callback for cursor.close
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
merging #2443 test for check-sytle.sh
Fix #2743.

This was originally caused by a typo in 75e3424a12f5c422151d28c185b72ea836c55961.

These changes have been approved by Marc Hesse.
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
Merge branch 'michel_2591_cursor_close' into next
removing func_wrap of r.args in javascript and python drivers
fixing valgrind warnings and potential memory corruption
fixing memory corruption from std::moveing the same object in a loop
adding r.binary server support
adding r.binary support to python driver
adding r.binary support to javascript driver
adding r.binary support to the ruby driver
adding r.binary reql tests
fixing error printouts in javascript rql tests
Fix #2758.

The problem turned out to be a typo. In certain cases, sync_from() would throw sync_failed_exc_t even if a peer was connected, instead of waiting for metadata from the peer.

I also fixed a couple of minor style issues.

This has been reviewed by @danielmewes.