Use stpncpy for Solaris 10
Fix #text to return nil on empty element
Fix simple interface (#method_missing) to work on empty elements
Merge pull request #35 from mcarpenter/emptyelt

#text on empty element + small Solaris fix