AbstractLocation: fix assertNotYetManaged

- was not correctly tracking when inConstruction
LocalhostResolver: use LocationSpec

- instead of calling location constructor directly
Merge pull request #822 from aledsage/fix/loctationLoggingAboutConfiguringWhenManaged

Fix: location logging about configuring when managed (and deprecated usage)