added 2to3 imports and fixes

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
added compatible functionality

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
updated readme

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
Merge branch 'py2-support'