Update postfixadmin migration code

The code to migrate from postfixadmin is not working at all in the current version of modoboa. This patch makes the migration script works, it was tested against a 2.3 version of postfixadmin. There are other tricks needed to make it work besides this patch but I'm not sure where would be the right place to fix those. For example all references to the `SQLHandler` logger need to be commented on the `settings.py` file for the script to run but no idea why. Or how to actually fix it. Let me know know what you think of this. Pay special attention to how the permissions are handled, not sure if it's correct. Advices are always welcome.