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).
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