Allow python-based regression tests to pick up user's PYTHONPATH.
Fixed missing end_access.
Merge branch 'dev' of https://github.com/pism/pism into dev