Updated CopyModulesCommand.php to include bug fixes, refactoring and new options.

Bug fixes: fixed --seed bug
New Options: --migration, --dump-autoload