Add a tfXMLNode::ChildValue function

See
http://pugixml.googlecode.com/svn/tags/latest/docs/manual/access.html#manual.access.nodedata
for more information.

Also makes m_lastError no longer dynamically allocated, as copy
semantics meant there was occasionally a segfault when the destructor
was called.