ex-141 (jebene) - merged develop into consensus2 branch. replaced
consensus.py with consensus2.py and renamed. added more tests