Fix zts build, fix reflection sigsegv, fix issue #42

No more ai->flags, now merged into prop->flags. I think now the whole ai
thing can be removed. We should just have a zend_function **acc in the
property_info instead.