Use the dollar_endonly option to prevent newlines

BugzID: 24203
Merge pull request #121 from cloudant/24203-dbname-embedded-newline

Use the dollar_endonly option to prevent newlines

BugzID: 24203