[ENH] Improve performance of isotonic regression

This supercedes #2940.

PAVA runs in linear time, but the existing algorithm was scaling
approximately quadratically, due to the array pop in the inner loop
being O(N).

I implemented the O(N) version of PAVA using the decreasing subsequences
trick, and the performance is significantly faster in benchmarking.

The benchmarks in this diff (adapted from one of the existing unit
tests) show significant performance improvements

| Problem Size | Relative Speedup of PAVA |
| ------------ | ------------------------ |
| 10 | 2x |
| 100 | 3x |
| 1,000 | 14x |
| 10,000 | 57x |
| 100,000 | 561x |
| 1,000,000 | 4645x |

![benchmarks47115](https://f.cloud.github.com/assets/1121581/2366340/1df4e5ec-a6fd-11e3-844f-ec5550922b7b.png)


On correctness - unit tests cover the isotonic regression code fairly
well, and all pass before and after the change. It's a fairly well known
algorithm with a bunch of implementations, so I think this is correct.
In coding up this algorithm I made some mistakes and the unit tests
caught the failures, which makes me more confident in the correctness
now. Still, the performance improvements seem suspiciously large.