Application of the Multipole Expansions Method for Solving 2D- and 3D- Elasticity and Fracture Mechanics Problems for the Medium with Pores