Add malloc implementation of scheduler memory.

This lead to some bug-fixes that covered move constructors not correctly assigning memory. We might clean this up further by only allowing in place creation of these types (placement new).
4 jobs from timing_helpers in 24 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #2787
build_cmake

00:13

 
  Test
failed #2788
run_tests

00:10

 
  Sanitizer
skipped #2790
run_address_sanitizer
skipped #2789
run_thread_sanitizer
 
Test run_tests
compilation terminated.
make[2]: *** [lib/pls/CMakeFiles/pls.dir/src/pls.cpp.o] Error 1
lib/pls/CMakeFiles/pls.dir/build.make:62: recipe for target 'lib/pls/CMakeFiles/pls.dir/src/pls.cpp.o' failed
make[1]: *** [lib/pls/CMakeFiles/pls.dir/all] Error 2
CMakeFiles/Makefile2:103: recipe for target 'lib/pls/CMakeFiles/pls.dir/all' failed
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
./ci_scripts/run_tests.sh: line 9: ./bin/tests: No such file or directory
ERROR: Job failed: exit code 1