Restore Python 2 module init function
Python bindings: set appropriate exceptions when failing
Python bindings: move IV parameter back to init
Merge pull request #1 from Rupan/master

Restore Python 2 support