Update postfixadmin migration code

    Changes:
        - Update the code to actually work with the current version of
          modoboa.
        - Use database transaction to roll back if something goes wrong.