Use config app instead of couch_config

BugzID: 13179
Updated the tests too
Merge pull request #40 from cloudant/13179-refactor-config-registration

Use config app instead of couch_config