gitlab-ci: refactoring
- Re-order jobs in the YAML file in the order of their stages
- Rename "documentation" stage to "prepare"
- Move "preparation" job to dedicated stage again in order to seperate it from the other jobs, because it runs only on the master branch