CA-129333: Improve debugging for snapwatchd. Add documentation for xslib wrapper.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@citrix.com>

GitHub: closes #92 on xapi-project/sm