Document RPC.
Update test script for XCode 5, make sure -stdlib gets in pkg-config configs, use pkg-config in test script, and build RPC tests in test script.
Lots of documentation updates for 0.5.