Various fixes

This PR fixes customer deletion process, improves a bit the order and customer admin templates.

The OrderEvent documentation is improved,  and  OrderEvent::getPlacedOrder()  now throws a LogicException if the order is not yet placed.