Move generic parts of fetchMountInfo logic from OStoreDB to the Scheduler
Changes were made recently in the OStoreDB fetchMountInfo logic without the corresponding changes made for the RelationalDB fetchMountInfo. Since these two share the way the mount policies are applied and how the existing and next mounts are filled, we could avoid the code duplication by moving them to the Scheduler logic itself.
Edited by Jaroslav Guenther