export int_to_enum/2 and enum_to_int/2

int_to_enum/2 and enum_to_int/2 is very useful for the end users in many
cases. Many other languages provide such functions, too.
Merge pull request #62 from wb14123/enum_export

export int_to_enum/2 and enum_to_int/2