Modified applicationentity.__getattr__ to raise an AttributeError rather than a NameError when a nonexistent attribute is queried. Fixes a problem with the PyDev debugger causing it to fail upon encountering a breakpoint (by raising an unhanded NameError).