Parse enums from input files

Reviewer: @dtalayco

These changes extend the new input file parser to parse enums. The eventual goal is to get rid of the canonical header files, but for now I only added the NX_ROLE identifiers (which obviously didn't exist in any standard OpenFlow header). After this pull request is merged I'll go back and add all the rest.