Add support for cpdef enum

Cpdef enum allows to access enum values from pure python code