Add Php::class_exists implementation.

Yes, I can compile it on ubuntu and Mac OS X, and I test it works:
···
void test_class_exists(Php::Parameters &params) {
    Php::out << std::to_string(Php::class_exists("DateTime")) << std::endl;
}
···