CMake updates, removed unnecessary files and fixed deprecation warnings

The unit test tests/command.cpp has lost two tests. One was not needed (not using lunchbox::Request), the other was broken.
We need to add a command test that exercises payloads. The ticket will be created once this pull request is merged, unless done now.