v13 with #83 : Convert .txt doctests to .py unit tests

Tests should work for a wide range of distros, returning the same count with some tests skipped.

Also, make "setup.py test" do an in-place build to test the speedups module, which now works for Travis CI (among others).