Add Roundcube core version checks; remove unused class imports