Moves all the navigation mesh query related functions from NavMap and NavRegion to a dedicated file and makes them static.