Support C++11 enum features in scan_enums.py

I haven't checked the formal C++11 spec for this, but I think it should be ok for now. Adds support for enum syntax added in C++11:

    enum class Foo {};
    enum class Foo : int {};
    enum Foo : unsigned short int {};