Merge "Setup infrastructure (multi-db support) for the new grid migration algorithm" into ub-launcher3-master