Support for connection strings and replica sets, also updated docs and test suite