LDEV-1912 set session timeout programmatically according to lams' UserInactiveTimeout value via a servlet listener rather than hard coding to 120 mins (in some webapps, no session timeout was specified at all).
Changed the activity category - this also changes the tool colour in the authoring view. When adding a question in authoring, area with the question form gets focus.
The tool now acts properly as a part of a sequence. Fixed some horizontal display issues. The tool checks for min and max number of records before finishing the activity.