Add support for utility functions on built in enums to HHVM.

Summary: Add support for enum.php style utility methods on built in enums. This is implemented by having enums extend a BuiltinEnum class that we define as an extension.

Reviewed By: @elgenie

Differential Revision: D1486885