Zaslat SMS: Bifurcations and chaos in piecewise-smooth dynamical systems