MAke sure to return None when doc is not foudn as required by API.
Switched the escape default to false for get_dotted_name(), since it is the more common case.
Moved dumpTable() to testing module and hardenedit against failures.
Made all tests pass. Yipee!