Invariant solutions as internal singularities of nonlinear differential equations and their use for qualitative analysis of implicit and numerical solutions