Make all timeouts configurable

BugzID: 24302
Merge pull request #125 from cloudant/24302-configurable-timeouts

Make all timeouts configurable