Bookmark editing does not word with PDO backend

Different db backend need different error handling. In case of a PDO connection prepare() returns a PDOStatementWrapper which returns an integer on execute(). So we can't call numRows() on an integer...

I tested this with the sqlite database.