Galaxy [3/4]: CustomSystemDatabase as part of Galaxy

** Depends on #2890 and #2891, will be rebased and merged afterwards **

And the third part of the Galaxy series:
- Separates static ```CustomSystem``` stuff into ```CustomSystemsDatabase``` class and puts it into ```Galaxy```.