[FEATURE] Search in MM table as well, e.g. categories

The patch allows to search for relations that
are two tables "away".

Example:
sys_file -> sys_file_metadata -> sys_file_categories

Change-Id: I8b61c505d305cfdd3a7a7ae5e4dbcded0a52fec0
Releases: 0.4.0
Resolves: #60846
Merge "[FEATURE] Search in MM table as well, e.g. categories"