Create helper to migrate mailbox data to new schemas
After changing index implementation, we need to be able to migrate mailbox data. In the future it'll be also handy to have some kind of mailbox manipulation classes.
(from redmine: created on 2013-12-17, closed on 2013-12-19)