Fix persistence handling of empty collections

Such empty collections are now properly deserialized.
Fix small javadoc issue in ClassmodFactory
Add missing private constructor to TreeWalker