Add the PHP messaging test. Fix various PHP CloudI API errors.