Singularities and collisions in $N$-body type problems