Roundcube 0.9 compatibility

Made changes to make it rcb 0.9 compatible - removed mdb2 dependency