To make things easier while playing with this I made a quick script to generate the sendmany command for sending a payment to a single address and automatically send the remaining balance (-0.0005 tx fee) back to the specified address. It assumes you are using an address in the default "" account in a dedicated wallet.
# Usage: send.sh
echo "./bitcoind sendmany \"\" '{\"$2\":$3,\"$1\":`echo "(\`./bitcoind getbalance "" 0\`-$3-0.0005)"|bc`}'"
p.s. Holliday - I should have figured this out before running that p2pool donation cron job; it would have tracked correctly like we had wanted!!