Fix: correct order of commands for native Linux install
For mDIS v3, yii migrate has to be called before npm, to copy the model and form templates from their default, version controlled directory to the respective working directories. The resulting changes are mainly reordering tasks and some adaptation. (Other changes in diff-view are automatic clean-up by the code editor, like whitespace at the end of the line.)