Remove global hostName var
This moves hostName to the Collection struct, where it's needed. The
field is populated after successful GetCollection...() calls.
This isn't the cleanest way to do things, but it accomplishes the goal.
Eventually, we should accept the AppCfg to GetCollection...() calls,
or make them App methods, instead of datastore methods.
Ref T613