Merged all post-testing fixes for clone_rsync and related code.

Squashed commit of the following:

commit 758b5ca29a3c3cacaadd2f37435b63a493abb5d7
Author: Josh Berkus <josh@pgexperts.com>
Date:   Mon Feb 24 17:21:05 2014 -0800

    Fixed a bunch of issues with rsync cloning.  Fully tested now.

commit 20fd0bb9f9eedb03716b61702becf7e523de21df
Author: Josh Berkus <josh@pgexperts.com>
Date:   Mon Feb 24 13:33:36 2014 -0800

    More bug fixes for clone_rsync.