fixing bug if descriptor is unspecified; also adding Enum type
adding valueOf for enum symbols
Merge pull request #2 from mattdesl/master

Adding Enum type