add support for enum type
Merge pull request #18 from heroku/enum

add support for enum type