fixed detail::to_uniform_name

this patch fixes the implementation of to_uniform_name to evaluate nested
type names such as `typed_actor<replies_to<std::string>::with<int>>` properly