Change  attachmentsForRev:error:inTransaction: method signature to  attachmentsForRev:inTransaction:error:

Change  attachmentsForRev:error:inTransaction: method signature to  attachmentsForRev:inTransaction:error: and
correct cosmetic alignment issue, also remove value assign that is never used