[TASK] Clean-up responsibilities of classes

The FileRepository, ResourceStorage and ResourceFactory
all somehow take care of creating files, managing files and
their data. Looking at the class comments of the
file-repository this should actually only be the
"IndexRecordRepository" while it serves several possibilities.

Getting a file from ResourceStorage->getFile never involves
the index-Records and even if index records exists the driver
always needs to query all file information out of the filesystem
to create FileObject.

As we always expect the index-record to be up to date we can
rely on that and must not query the file-system for every bit of
information. In addition creating objects without looking for the
record first renders the FAL api useless.

This patch introduces a IndexRecordRepository which only deals
with these kind of records and deprecated the methods within the
FileRepository.
In addition it moves around the "file-object creation logic" so this
is dealt with at a central place: the Resource Factory.

Finally the ResourceFactory always uses to get an IndexRecord from
the newly introduced Repository. If the FileInfo is not present,
it queries the Storage for the fileInfo (from the Driver).

Releases: 6.2
Resolves: #51528
Change-Id: I6ceeb8db4dd4e470e7c72dcfbc2121093411da75