Remove type-aware ordering in ElementPath creation
Refs https://redmine.teklia.com/issues/3735
The main goal is to remove the type-aware ordering when a new path is created through add_parent. This would allow us to later add a unique constraint on ElementPath (path, ordering).
Steps:
- remove
type_orderingoption inElement.add_parent - always use the max value as next order
- introduce an invalid DB constraint to prevent new invalid data to enter the DB