This commit updates the visibility of various header files and cleans up some unnecessary inclusions. Also, this commit removes certain header include paths which were maintained for backward compatibility.
Regression from f391d610e8
f391d610e8
Closes IDF-4132