CVE exceptions fix.

While inserting info about CVEs attached to the packages, we must explicitly define LAST_INSERT_ID in MySQL query, so the mysql_insert_id() will receive correct id.
Merge pull request #2 from tauceti2/cveExceptionsFix

CVE exceptions fix.