Add --license flag to executable, and default it to mit.

Move path functions to it's own files.
Add --license flag, defaulting to mit.

Move path functions to their own files.

Remove version.h and define version in projgen header.