Prepoc: Fix QI_CREATE_ENUM_WITH_STRING_CONVERSION and add test auto

Change-Id: I85197b213fe01a7045476c7047d83d6cb65a1b1d
Reviewed-on: http://gerrit.aldebaran.lan/47014
Tested-by: gerrit
Reviewed-by: agarcia <agarcia@aldebaran-robotics.com>