Fixed X-OpenHIM-TransactionID Header

@rcrichton please review found a bug in the way this works, basically what was happening was that the the request was being made before the transaction was saved therefor the X-OpenHIM-TransactionID was not being set