Transactions in TransmissionStore (+ made them optional in RecordStore so that they can be controlled by a client such as TransmissionStore)

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>