Return right returnvalue on import/export/move cmd.

We were always returning 0 (e.g. operation failed) for
the import/export/move commands. This makes any runscript fail
any next runscript and the Job also fails.

Fixes #146: Variable "Job Exit Code" in mailcommand reports always
            "Error" when doing copy or migration job
Fixes #155: runafterjob doesn't get executed if a runscript directive is
            placed before the directive runafterjob