[BUGFIX feature] Ensure that AutoLocation gets `rootURL` as an option to `create`.\nFixes #4704.\n\nAutoLocation makes decisions about replacement URLs that depend on the `rootURL` setting of the router, but the router was only providing the value of `rootURL` after `AutoLocation.create` was already called, making it not respect the `rootURL`.\n\nTo fix this issue, this commit introduces a `settings` injection type.  This type is private for now. The `root-url` setting is either `null`, the default, or a string value taken from the public API of `Router#rootURL`. `settings:root-url` will be injected as `rootURL` in all objects of `location` type.
[BUGFIX feature] Assert rootURL has trailing slash when used with AutoLocation + additional test coverage
Merge pull request #4717 from jayphelps/autolocation-should-have-rooturl-on-create

[BUGFIX feature] AutoLocation should have rootURL on creation + require trailing slash for rootURL