Automatically generate the enum keys for Python.  Maybe helps with pydev issue; See #367

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>