Feature/migrate planning element types data to types

OP ticket: https://www.openproject.org/issues/1982