LDEV-3293: Use the new Spring's support for Hibernate 4 instead of Hibernate 3. Switch from using HibernateDaoSupport.getSession() to its getSessionFactory().getSession(). The latter is sure to close the session automatically while a session returned by the first method should be closed manually. Theoritecally we do it in OpenSessionInViewFilter, but it may not be always the case, leading to open Hibernate session being left behind.
LDEV-3293: Cast DAO methods' results to their return type. Java 8 is more restrictive about generics. Hibernate find() methods returns List<?> and it can not be quietly cast to List<SomeClass>. Each occurence was explicitly casted and warnings about the type being unchecked were supressed.
LDEV-3265 * the option to force answer a question in assessment is off by default * all checkboxes go next to the text rather than below * fixed import/export of QTI questions feature. it thrown exceptions when questions contain sequenceIds not 1,2,3 but rather with intervals (e.g. 1,3,4) * removed RequiredQuestionsDTO as it's appeared not to be used
LDEV-3171: Give a Monitor an option to remove learner's content from activities when moving him backwards in a sequence. Implementation of content-removing method for most of tools.