Changed __init__ to use Python 3.x types
Convert dict_items to list in encode_dict() as dict_items cannot be sort()ed
Some tests
Merge branch 'master' into python3-dev
Python 3.x print
Merge branch 'master' into python3-dev
Tests passable, incorporated BTL into __init__
removed import from test.py
Cleaned up tests