Updates for Riak 1.4

Updates to most functions to support Riak latest release, plus a fix and a couple more functions.