Merge pull request #53 from Qingtao-Cao/devel

Regression tests on the new example_adaptor, existing bms_adaptor and mg_adaptor are all green, while the further memory tests on oBIX server will be done next week.

Merge all these changes so that Andrew could pull out obix-adaptors stuff since the start of next week.
CMakeLists for the adaptors package now dies if the dependency libraries are not installed on the target system
Merge pull request #54 from Qingtao-Cao/devel

Cosmetic changes for bms_adaptor
Copying res directory to tests post update
Merge branch 'devel' of https://github.com/ONEDC/obix into devel
Remove redundant macro definitions from curl_ext.c

Now that a hard copy of linux/list.h is restored in the obix package
itself, no external dependency on kernel-devel any more and the required
macros are always defined in that hard copy.
Cosmetic changes on the history.c

Remove redundant error messages, and printing out the content of
a bad formatted abstract node on error conditions
Cosmetic updates on README.md

The "-o cat" option should be used for journalctl to focus on the actual
messages instead of meta data such as timestamps
New test case to simulate how history index files are read

Add a new test case to simulate how history index files are read,
which can be used to evaluate the difference between xmlParseFile()
and xmlReadFile()

Turns out only the XML document generated by xmlParseFile can
support have its root subtree re-parented to another document.

At starts-up, the history subsystem will create a new node for
a history facility of a particular device under
/obix/historyService/histories/ and then read its index file and
reparent its root subtree to the previous node. So to this end,
only the xmlParseFile should be used so far.