Fix oae-ticket's createTicket() not releasing lock

createTicket() was not releasing its lock if an error occurred while
creating a publication. This was causing tests to fail, as they
couldn't acquire the lock to create a ticket.
Fix isCorrespondingPublication() comparing too strictly

It was comparing all fields, including generated fields like id
which are not defined until the publication has been created. The
function now only checks for parity with fields which are not generated
automatically when creating the publication.
Merge pull request #1 from ucamhal/avocet/embargo

Avocet/embargo