The U.S. stock market's bull run is almost three years old, but if history is a guide, that would make it only middle-aged.