Added attribute escape/unescape functions
Translated cdata/attr escape functions to NIFs
Merge pull request #2 from chrisyunker/master

Implement attribute escape functions as NIFs