The sharding build/link dependencies are currently circular, causing tests to have to link coreshard and mongoscore, which in turn links a lot of unnecessary code from the engine, such as DBClient and query.
We should clean up the sharding build dependencies, which will result in a faster build.