bulk commit: created CMAKE project, added gmaock tests and small modifications to the TripleBuffer class