Added snapshot() for cluster resource
Formatting; optimisation
CLI: filter by resource name
Added findGroup() on agent; removed _findGroups()