Re-implement rcube_db::num_rows() to ensure backwards compatibility
Merge branch 'master' of github.com:roundcube/roundcubemail