basho/riak_kv — pull request #353 by jerith (2012-06-24 16:53:09+00:00)
Title: Fix assorted test sadness.

Most of the fixes are just cleaning up resources created by various tests.
Some stuff in test/mapred_test.erl starts riak_kv_app multiple times, which
causes problems with the return value of the riak_api_pb_service:register()
call. Therefore, this is no longer required to be 'ok'.

I'm not very familiar with the Riak codebase, so I'm not hugely confident that I've done the right thing here, especially in `riak_kv_app:start()`. Also, any comments on style or idiom would be appreciated.