Fix varius db_prefix issues (#1489839)
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
Support sql_debug option here
Merge branch 'master' of github.com:roundcube/roundcubemail