DEB and RPM packaging

And tar.gz, for good measure.

Organization is effectively the same as the sql-layer: packaging/ contains a directory per type and a script to build them all.

Also include version information, exposed via --version, and git information filtered into a property file (again, like the sql-layer).