More cleaning up for the book reference detection.
Added compiled python .pyc to ignored.
Debugged naive reference detector.