Moved over twonode_test from Grok trunk
Converted to unittest format
Converted print to logger
Added tests
Fixed pylint warnings
Replace try blocks with self.assertRaises
Split test up
Removed unnecessary comment
Merge pull request #612 from chetan51/test_nupic2_twonode

Add Network TwoNode test