Bind C++ enums declared as `enum` in the IDL file.

Tests passed: `tests/runner.py test_webidl`