Enhanced instanceof compatibitily with PHP classes

Enhanced instanceof compatibitily with PHP classes and better support
of:
instanceof "<string>"
instanceof <variable>
instanceof <call>
instanceof <array_access>
instanceof <property_access>