fix bug where ternary was not properly evaluated, and add tests to prove it works
add note to readme about the need to configure couchdb for SSL in order to run tests
Merge pull request #13 from developmentseed/secure

configuration options not properly evaluated