Create explicit Locations.

Part of STUD-1030

Changes in common. I am leaving URL forms alone-- is that OK? They seem to exist mostly in tests, for places where a serialized version of a Location is expected.