added darktable db version checking (supports v34 and v36)