Feature/support python3

All tests and samples run with python3 now.