added urllib compatibility
now uses urllib2 for python2, and urllib for python3

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
fixed Wave_write support
python2's implementation of the wave module is different
Error - AttributeError: Wave_write instance has no attribute '__exit__'

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
added shutil.which support for python2
uses equivalent backported code

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
modified setup to allow installation on python2

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
Added python2 support