add an implementation of memory transactions + tests

Change-Id: Id901328da7d246268b7af951729acb1fada06836
7 files changed