add couchdb yml file
query by base id
better base id emthod
remove duplicated method
Merge pull request #12 from amco/config-yml-support

Config yml support