Added SHA1 hashing code, replaced book name with hash of book URL, modified avembed so we don't need to duplicate data attributes and included a flag to force logging to be handled by the parent page