Changed log headers to fit the include what you use style
Reduce optional.hpp/shared_ptr.hpp includes to operators