Introduce map_type for string- or double-valued time series.

Fix misc bugs.
Clean up missing items from transition from class Store to class Db.
Switch to clang++ from g++ for purported better error messages.