Used sm:get-permissions() for getting the owner.
Made fix-for-encoding-at-sign.xq unit test fix the '@'.
Made the data inconsistency report to look for paths with unencoded at
sign.
Fixed the data inconsistency report to look for the correct owner of
collections / resources.
Merge pull request #23 from claudius108/master

Some fixes for the reports module