Topological criteria of global attraction with applications in population dynamics