Add enum related classes to stub file

I have added several enum-related class definitions to the stub file and also fixed the signature of `ProtocolBuffersEnum` class.

With this PR, all `class not found` warnings in PhpStorm disappear :)