Demangle std::type_info::name to make it readable on mac and linux

Moved the static demangle function in AutoNetServerImpl.cpp to its own header so it can be used throughout autowiring.