update for pandas 0.13

Lots of things are slightly different in pandas 0.13, so there are a ton of test failures. This branch tries to fix them.