Renamed `cursor` to `cur` to allow multiple cursors

2 jobs for 21-change-the-cursor-variable-name-in-spatialitedatabase in 1 minute and 24 seconds