Added time profiler to try and identify hot functions.
Wired up test project as pre-build command for main build - which will cause the project to fail if tests don't pass.
Added SpecRunner and specs in place of TestRunner and tests.