Enforce sanity checks on write operations.

Impose some minimal sanity checks on the input root node, including:
 . Its tag name must match with that of the target node;
 . If provided, its href must match with that of the target node,
   regardless of in absolute or relative format.

However, the input root node can safely omit the href attribute
at all, since the target node has been fully specified by the
request URI.
Merge branch 'devel' of https://github.com/Qingtao-Cao/obix into Qingtao-Cao-devel

* Sanity checking on nodes
Merge branch 'devel' of github.com:ONEDC/obix into Qingtao-Cao-devel

* Grabbing latest devel to check the PR against
Merge branch 'Qingtao-Cao-devel' into devel

* Updated PR #33 with latest devel code
* Tested with Harry