Debug tool: initial commit + shared_ptr.hpp patcher, so that ROS compiles in c++11 mode