Actually connected lazily in CM_Db_Client

- Removed $this->connect() in constructor
- Adjusted tests assuming that the connection would happen upon instantiation
- Added getters for connection configuration and allowed for passing null to setDb()
- Removed helper methods getConfigDefault() and getClientWithoutDatabase() on CM_Db_Db
- Adjusted usages: Used master database client instance and unset selected database when necessary