Pytest with doctests

Builds off of https://github.com/ContinuumIO/datashape/pull/60