Added tests for deserializing different enum types

This demonstrates a bug where int is always assumed as enum type.
Support for enums of any available enum type
Merge pull request #467 from arangas/enum-type-parsing

Deserialization for enums of any type