LPS-32110 Add macro method, insertResourcePermission.
LPS-32110 Add macro method, insertUser.
LPS-32110 Move logic in ddl_record.ftl to ddl.ftl, no changes.
LPS-32110 Move logic in dl_file_entry.ftl to macro.ftl, no changes.
LPS-32110 Remove unused properties.
LPS-32110 Make this readable by humans. 1.) when declaring a macro, sort first by vars without default values, then by vars with default values. 2.) when calling a macro, always sort alphabetically
LPS-32110 Apply everywhere else