Move some common functions into cloudi_core, creating cloudi_response_info.