Ensure glossary and index files are considered stale until pass 2 has completed
Move bibtex database into example files
Tweaks to .gitignore