Add simple IntEnum implementation

Example usage:

>>> class Foo(IntEnum): pass
>>> Foo.add('bar', 1)
>>> Foo.bar
<Foo.bar: 1>
>>> Foo(1)
<Foo.bar: 1>
>>> Foo(1) is Foo.bar
True
link: Quote URIs in error message
Return enums instead of ints