python: various fixes for new qitype API
python: various fixes for new qitype API

Change-Id: I322759805f998374be9582aa01b03b047ad369c4

aldebaran/libqi-java,vbarbaresi/libqi,aldebaran/libqi,bsautron/libqi,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi-java