Test refactor

Move from nose to pytest. Include self-contained runtests module

Fixes to make sure suite runs on python 2.6 without pandas or scipy