setting up dependencies for removal

this way new objects created by periodic evaluators will be removed when
it is removed and you can remove a periodic by [eventually] calling
remove on its parent id
started working on groups