Naive migration to Python 3..4

Most of conversion done with the use of 2to3 script.
All tests are running clear