[long-tx-api] Improved the API to add elements to the read set.

  * Also changed attribute to slotName in LogEntry