Port the metabase.mbql utility namespaces to ./shared/ so they can be used on both the frontend and backend.