do not lock browser2 anymore (closes #1635)
tests: Allow changing modules path and adding to PYTHONPATH

This way run_tests.sh follows what local_run.sh can do.
browser2: Fix error message text
pastebin: Fix crash on spam page