Fixed problem with getting and setting enumeration. Related to ticket:3038
Added a header file for fmi.pyx. Related to ticket:3042