Add test to test building the cluster.
Massive refactoring and cleanup.

Move examples out; setup riak_test to test derflow.  Reformat files,
make more idiomatic Erlang.