ported the relevant parts of the python binding to TRUNK


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/bindings/libgphoto2-python@13058 67ed7778-7388-44ab-90cf-0a291f65f57c