Merge pull request #40 from cloudant/13179-refactor-config-registration