fixed a problem when base path was "./xxx" 5 test results changed by

* uri.c: fixed a problem when base path was "./xxx"
* result/XInclude/*: 5 test results changed by above.
* Makefile.am: fixed a couple of spots where a new
  result file used different flags that the testing one.
8 files changed