Add version flag, -V

Add a flag to print the package version: `-V`.

This change also brings with it the libexec directory, so we can pull
common code out.