#CAROLINE-41

Raw version of performance measurement is implemented via Clock and TimeLog classes. Examples of usage are in caroline.cc Also some minor style fixes are made to satisfy linter.