Added build files and tests

Added build scipts using cmake in subdirectory build
Added tests for ScopeTreeTimer in subdirectory test