Bug fix for getAttr function

Now it permits to return user defined attributes which do not have a corresponding method, similar to setAttrs(config) that sets attributes as key-value whenever there is no method for the given key
Merge pull request #412 from aniruddha-loya/master

Bug fix for getAttr(attr) function