Added a project template for libraries.
Fix .gitignore patterns to include build scripts as they should.
Change RUN to make the product-name argument optional.  The default value is to take the last dotted component of the system-name.