Singularities and collisions in $n$-body type problems