Added sqlite version check for returning statement

Tara Evaz Zadeh requested to merge feature/check_sqlite_version into master

SQlite version check needs to be applied for the function insert_reference_entity just like it exists for the function insert_assessment. The reason is that older versions of sqlite within python does not understand the RETURNING statement.

\approve @ds @laurens @shinde

Edited by Tara Evaz Zadeh

Merge request reports