SetTempValue is needed in common/, so move it there.
SharedMemoryLocker is needed by core/ and launcher/, so move it to common/.
Cleanup core/ include search paths.
ToolUiFactory belongs into ui/.

Another step towards removal of include/.
metatypedeclarations.h goes to common/.