Added consistent indexing access to remotes by uid, by name, and by ha

Prepatory to adding remote.role for key handling