Allow overriding Algorithm::isRunning in Python

Refs #8971
Allow Algorithm::cancel to be overridden in Python

Move Algorithm::cancel test to PythonAlgorithm test so it is more
reliable and doesn't rely on timings.
Refs #8971
Merge branch 'feature/8971_cancel_algs_from_script' into develop