Implement parsing fancy enums.

(The production is not ready for landing, I hate writing these)
It may be totally wrong, but at least it flake8s!
Pretty up the code
Merge pull request #60 from alex/parse-fancy-enum

Implement parsing fancy enums.