update exceptions.py

Now, ResourceAttrError is a subclass of AttributeError.  These exceptions can now be caught as AttributeError exceptions by application code or standard library stuff.  getattr comes to mind.
Merge pull request #30 from hsum/master

issue #30