Write changed objects to a file - fixes #18

Also removing Scalaz - we only used it for the declaration of the Memo
trait, which we then had to modify to allow us access to the underlying
map.