Add type conversions for enum types

* Before this, enum values were just the default Int type, requiring
  conversion to the proper type before being passed to calls.
* Now, the the enum values are of the same type as the original enum
  (typically Int32 or Uint32)
Merge pull request #86 from ihnorton/kms/enum_types

Add type conversions for enum types