(WIP) Add gitlab ci support

Do not merge yet, this is a work in progress.

Todo:

- [x] Fix failing tests
- [ ] Write tests for ci classes
- [x] Re-Add SSL support
- [x] Fix Nginx support
- [ ] Get feedback
well, that's weird. and wrong.