Add first draft of Series representation.

It is missing some key points, most notably construction
of named subseries.  The TPtr class is badly designed for
the moment.

Compilation fix in store.h.