Yannis: (a) Changes to LMS to cause less val assignments (b) updates to
DynamicRecord for specialized hash table. (C) minor additions of library
methods.

This is a temporary commit (the multimap will be merged with the dynamic records map)