C++ utility code part 1

Includes a simple profiler, a fixed size array utility class and a fast
Text Buffer that doesn't allocate memory.