Move .gitignore to lib/ in preparation for moving lib to the root.