Refactor debug.hpp and reverse include dependency. Reviewed-by: coleenp, stefank, dcubed
Reviewed-by: iignatyev
Reviewed-by: rehn, rprotacio