Fix blob_layout.txt failures on Python 2.7
Unify doctest indentation
Use the testXXX convention for test names
Consistently name doctest holder functions

(To distinguish them from real functions that actually do something when
called.)
Typo fixes
Fix doctest_readCurrent

It seems that OIDs are assigned in random order (dictionary iteration
order perhaps), and the test made assumptions.  Add an extra
transaction.commit() between object addition to fix OID assignment
order.
Fix test_weakrefs_functional

In Python 3 object.__hash__ raises TypeError, so we need an explicit
override if we want hashability.
Fix ConflictResolution tests

Python 3 really wants rich comparison operators
Refactoring, typo fixes
Fix half of testfsoids

In Python 2 str(SomeClass) returns "modulename.ClassName".

In Python 3 str(SomeClass) returns "<class 'modulename.ClassName'>".

We want the former.
Typo fixes