added riak methods to accounts, campaigns, and codes. Not tested
removed some old methods from shareddefs.