Extract riak_core_connection and tests.
Merge pull request #479 from basho/feature/csm/move-connection

Extract riak_core_connection and tests.