Report test name in case of runtest failure; add missing print_function.

Make runtests.py report the name of a test if an exception is thrown
before it outputs the test name normally. This makes sure that the
name of a test is printed even in the face of runtest machinery failure.

Added a print_function import from __future__ to test_codegen, which
would make tests fail all over the place when --enhance-asserts was
active.
Wester test cases N12-O3 added
Corrected enf of file character
Wester test cases 04-P8 implemented
Wester N12-P8 test cases added
Issue 694: Add tests from "Review of CAS mathematical capabilities", by Michael Wester

Added test cases from N12 to P8.
Add --split option to split the tests and doctests

The usage is

./bin/test --split 1/2

which will run the first half of the tests. Any a/b is supported.

Currently, this just splits the test files, because that was the easiest to
do, but we maybe should implement splitting the tests themselves.

Note that for the doctests, the regular doctests and the Sphinx doctests are
split independently. Furthermore, the Sphinx doctests split against every
Sphinx file, before it checks if it actually has doctests, so for some splits,
no Sphinx doctests will be run at all.
Implement test splitting in Travis

Now the regular tests are split into two test runs.
Print the split in the test header if there is one

This will help in debugging why this doesn't seem to work in Travis.
Sort paths in the tests

This should make --split act as you would expect it to, regardless of the
underlying filesystem.
Travis: Also split the gmpy tests
Added Wester test cases P10,P11,P12
Sort the right thing when running the tests

This reverts commit 6495de3c4584754644a9b7f565ec2d7b893fbbf9, because it was
sorting the wrong list.
Update list of installed modules
Corrected test cases N12-N16 after Randy's review.
Added missing test case P9.
Added P13-P19 test cases
Corrections after feedback from Aaron for P3, P9 and P12
P3 added. P9 was wronlgy named P3. __remove_whitespaces() removed. P12 corrected.
removed __remove_whitespaces()
Added caching to delta in concrete, for speed.

Otherwise, testing it takes a long, long time.
Split the tests for deltaproduct and deltasummation.