Added __delattr__, __delete__, delattr() and del(obj.attr) support.
Fixed dir(obj) for instances and to raise an exception when called without arguments.