fixed a serious problem when substituing entities using the Reader, the

* parser.c xmlreader.c include/libxml/parser.h: fixed a serious
  problem when substituing entities using the Reader, the entities
  content might be freed and if rereferenced would crash
* Makefile.am test/* result/*: added a new test case and a new
  test operation for the reader with substitution of entities.
Daniel
diff --git a/result/dav13.rde b/result/dav13.rde
new file mode 100644
index 0000000..ffe978d
--- /dev/null
+++ b/result/dav13.rde
@@ -0,0 +1,45 @@
+0 1 D:multistatus 0 0
+1 14 #text 0 1 
+  
+1 1 D:response 0 0
+2 14 #text 0 1 
+    
+2 1 D:href 0 0
+3 3 #text 0 1 
+	   http://webdav.sb.aol.com/workspace/webdav/proposal.doc
+      
+2 15 D:href 0 0
+2 14 #text 0 1 
+    
+2 1 D:href 0 0
+3 3 #text 0 1 
+	   http://webdav.sb.aol.com/workspace/webdav/
+      
+2 15 D:href 0 0
+2 14 #text 0 1 
+    
+2 1 D:status 0 0
+3 3 #text 0 1 HTTP/1.1 202 Accepted
+2 15 D:status 0 0
+2 14 #text 0 1 
+  
+1 15 D:response 0 0
+1 14 #text 0 1 
+  
+1 1 D:response 0 0
+2 14 #text 0 1 
+    
+2 1 D:href 0 0
+3 3 #text 0 1 http://foo.bar/blah
+2 15 D:href 0 0
+2 14 #text 0 1 
+    
+2 1 D:status 0 0
+3 3 #text 0 1 HTTP/1.1 403 Forbidden
+2 15 D:status 0 0
+2 14 #text 0 1 
+  
+1 15 D:response 0 0
+1 14 #text 0 1 
+
+0 15 D:multistatus 0 0