Adapt riak_test for riak_core applications.

Adapt riak_test to more easily be used with riak_core based
applications.  This involves removing a few assumptions about executable
names.