Restricting /lib to top level directory in .gitignore

This patch was proposed by Sean Mackrory.
Merge pull request #483 from pwendell/gitignore

Restricting /lib to top level directory in .gitignore

This patch was proposed by Sean Mackrory.