Fix bug on bin mining, open riak connection on start process
Merge branch 'master' of github.com:avelino/mining into bottle

* 'master' of github.com:avelino/mining:
  Fix bug on bin mining, open riak connection on start process
Fix bug on bin new mining, open riak connection on start process