improves objects to be the same for queryWHierarchy
small fixes for unified project objects
Merge pull request #42 from opf/fix/project_hierarchy_same_objects

improves objects to be the same for queryWHierarchy
this fixes the hierarchy for searches.
bug fix: Changing the role of a project member/group should not remove it from the project.

- Changing the role of a project member should not trigger a deletion.
- The project member should however be destroyed as soon as all inherited roles have been removed and it has no (direct) roles assigned to it.
- Test have been added to project core_tests.
bugfix merge for double selection.
improved addUnmatchedParents to also reflect selection.
improved adding of selected/unmatched parents.
improved data format.
if new data is loaded and we are currently down a project tree,
the parents of the previous element are taken into consideration.
improved even more. Previous solution was buggy-
also removed dead code.
Merge pull request #45 from opf/fix/member_role_change

bug fix: Changing the role of a project member/group.
removed bug with select2 scroll point.
bugfix for loading projects from different urls.
added disabled projects.
bug fix: removing a user from a group should also delete project memberships if the user has no own roles left in the project.
Merge pull request #47 from opf/fix/member_role_change

bug fix: removing a user from a group should also delete project members...
Merge pull request #46 from opf/fix/select2-projectTreeMissing

Fix/select2 project tree missing
Speeds up level_list view of projects.

projects.children fetches those children from the DB. this caused the
retrieval of ~2000 projects to take upward of 10 seconds. Asking for
'leaf?' operates on nested set lft and rgt and does not require a
database query.
Merge pull request #49 from opf/fix/slow-level-list

Speeds up level_list view of projects.