Enable stable package building for git.

Builds in the plumbing for checking out stable versions of git/github packages.

Contributions by @Bruce-Connor and @Wilfred.
ignore the stable packages directory
Add stable package building to the Makefile.