Collective risk theory : a survey of the theory from the point of view of the theory of stochastic processes