Adds the ability to "lazy import" factories, by using a pkg_resources like python object path string. Adds some debug/output utilities.
Adds basic test for Reference, extending partial tests from stdlib.