Migration script is now a regular management command.

see #577
Minor fixes in the pfxadmin migration script.

see #577