Add options to pass authentication to couchdb admin user.

This allows us to stop using admin party mode.
Allow specyfing the maximum response timeout to be used by the
connection pool.
Expose an action to get rid of persistent alert definitions on
internal api of alert agent.
Merge branch 'master' into release-0.26.x