Made getElementAttribute return a NULL value instead of nothing
Merge pull request #583 from ainsej/get-element-attribute-null

Made getElementAttribute return a NULL value instead of nothing