Midway through refactor
Added a bunch of tests, refactored to use hashie dash to simplify riak
data storage following the pattern of their ruby tutorial
fix issue where api key generated duplicate keys
add tests for ApiKey, ApiKeyRepository
Add rspec for Puppetmaster, PuppetmasterRepository
Extract PuppetmasterRepository into separate file