[python] **UNTESTED** refactor and begin adding support for iOS 8 (see issue #2)