Adds PE type controller to before filter filter
Checks user permissions and project id
Fix some specs
Merge branch 'feature/merge_planning_element_type_with_type' of github.com:opf/openproject into feature/merge_planning_element_type_with_type