Fix class not found exception when defining a class which refers to itself.
Fix class not found exception when defining a class which refers to itself.

Fixes #241
bobthecow/psysh,damiankloip/psysh,damiankloip/psysh,bobthecow/psysh,damiankloip/psysh