Move some pkgconfig helpers into library.

Add more fields to packages to support autobuilding.
Merge branch 'master' of github.com:felix-lang/felix