Saves Timelines

Saving and loading timelines to disk now possible. (Junit test
included.) Events are now saved to the correct directory. (Fixes bug in
previous commit.)