Add minimal Py2/Py3 compat module
Make LEB128 code work on Python 2
Merge branch 'py2-compat'