The Edge of Chaos: Financial Booms, Bubbles, Crashes and Chaos