This PR replaces the boost/algorithm/string.hpp header with more granular ones which are already used in the codebase.
Such granulation, for example, guarantees that the boost/algorithm/string/trim.hpp header is not included indirectly, which in turn allows to remove boost::algorithm::trim* calls from the test/lint/lint-locale-dependence.sh linter.