Automated testing of session2

The directory 'twill-tests' contains several tests that verify the behavior of 'test_session2.py'. To run them,

The tests do not test persistence or multithreading yet.