LPS-38423 fail fast when adding a folder if data is invalid

If callers try to add a folder in a parentFolder whose group or
repository is not the correct one, fail instead of continuing.
LPS-38423 simplify
LPS-38423 fail fast when parentFolderId is inconsistent

When trying to move a folder into another one, and the specified parent
folder is not in the same group or repository, fail instead of doing
something arbitrary.
LPS-38423 throw exception when invalid parent folder

When trying to move a folder into itself or one of its children, fail
instead of moving into the parent.
LPS-38423 delete DLFileEntries in DLApp services

The Repository services shouldn't assume the repository is Liferay's
native one.
LPS-38423 remove from cache when deleting

Repositories weren't removed from cache when deleted.
LPS-38423 fix tests

Two tests were failing as a consequence of the faulty cache (see
previous commits). Also, repositories should be deleted through the
DLApp services to make sure all resources are properly cleaned up.
LPS-38423 allow parent folders with same groupId

Even if the repositoryId is different, allow parent folders as long as
they live in the same group. This is necessary to mount repositories
inside other repositories.
LPS-38423 remove duplication
LPS-38423 autogenerated
LPS-38423 SF
LPS-38423 Remove unthrown exception
LPS-38423 regen
LPS-50015 Pagination logic should not change SearchContext within search indexer
LPS-50015 SF
LPS-50005 Automatic reference importing - MDR