Added ctx.attrs() method (close #16)
Merge pull request #19 from mishanga/attrs

Added ctx.attrs() method