Log exceptions when saving preferences
Preferences: Fix saving preferences when using a database store

Our DbSelect::where() is not (or no longer?) compatible w/ Zend_Db_Select::where().
DbStore::load() now uses Zend_Db_Select but we should definitely think about our
DbSelect::where() implementation.

fixes #7353
monitoring: Use command transports constants in the command transport factory