Four warning signs often appear before major market crashes. History points to valuations, regulation, innovation, and debt.