SAK-22835 Correctly recursively set the allow HTML property in a site.

When recursing down a hierarchy nested collections where being checked to see if they exist with the method that only accepted resource IDs.
  Also cleaned up Exception handling and switched to using a logger.

git-svn-id: https://source.sakaiproject.org/svn/content/trunk@306761 66ffb92e-73f9-0310-93c1-f5514f145a0a