Add version and active flag to series

Actually the documentation for the serialized format should be in just one place, and that place should be a doc comment that's visible via godoc. But I can deal with this myself later.