WIP: Galaxy generator

**NOT FOR MERGE**

This is currently only for visibility and making it easier to follow. The branch will be **history-edited** (rebased, commits squashed, reordered).

General discussions about this should go here:
http://pioneerspacesim.net/forum/viewtopic.php?f=4&t=133