Fix/planning element trees

Moves scoped nested set out of issue and into a module that is in turn included in WorkPackages.