Support enums

This pull request is necessary to support enumerations in ROOT6 when on demand header parsing is used.  Without it nearly all relval tests fail
Please merge as soon as convenient.