LDEV-4746 Detect if a foreign key was already createdWe may migrate DBs which already have a foreign key in one of Assessmenttables and ones which do not. Instead of manual shuffling of scripts, weprepare scripts to never fail.
LDEV-4746 Removed "correct" field from QbOptionIt can be inferred from maxMark.Also fix incorrect overwriting of QB question names with Assessmentquestion descriptions.
LDEV-4746 Use table as question ID generator for QbQuestionIn the future we can add new columns to lams_sequence_generator, so wehave a single table for generating new IDs instead table-per-ID.
LDEV-4745 Make service methods do what they claim to doGetting max question ID and version returned already incremented versioninstead of actual max. Now they return real max value and need to bemanually incremented afterwards.