Adopting Clojure implementation to refactored pdb.values.

Done: List/Set/Map. Rest still work-in-progress and doesn't compile yet.
Still to do: constructor / node / generic writers / value factory.
Reusing Node and Constructor implementation from pdb.values fast implementation.
Resolving last compile problems and some minor issues.
Adopting equals() and isEqual() functions.