Add getAttr hook, which is called when attribute is fetched
Merge pull request #87 from drogus/get-attr

Add getAttr hook