/etc/hosts generator implemented

* small refactoring of cluster_ops.py;
* /etc/hosts is now generated for each node with all cluster nodes in it.

Change-Id: Ic30f5897f39f6782cc6edf13beb64783ed12e427
Fixes: bug #1168102