fix all sphinx warnings

Conflicts:
	doc/library/scripts.txt
added base.py
fixed line lengths in patch_viewer.py
removed tests for removed class
remove other mentions of dense_binary_dbm
Merge pull request #672 from goodfeli/sphinx_rebase

Fix all sphinx warnings