Added .gitignore files, at top level and for books/.

These were taken from svn repo files
unversioned-files.txt
and
books/unversioned-files.txt
respectively.