Debug-log accepts names and/or tags for machines/units. Bug 1320543.
Added comments. Renamed agent to agentTag. Re-ordered tests. Bug 1320543.
Added comments. Bug 1320543.
Typo. Bug 1320543.
Renamed field to index. Bug 1320543.
Merge pull request #1025 from anastasiamac/Bug1320543-debuglog-names-vs-tags

Debug-log accepts names and/or tags for machines/units. Bug 1320543.