More cleanup, fixing PEP8 violations and formatting tests.
Bugfixes in the inmemory adapter, including an issue preventing inequality filters from functioning properly.
Minor formatting fixes and adding ownership name overwrite to core MetaFactory.