Add $parent property for walking through prototype

chain
Implement $instanceOf method
Use the right context for callable objects.

Also make available an extra 'self' parameter that can be used to reference the
callable.
Update documentation