Feature/robust against couch connection issues

https://github.com/leapcode/couchrest_session_store/pull/6 should be reviewed first.