Renamed spannertools.TieSpanner to spannertools.Tie.

Implemented PersistenceAgent.as_module().