SpatialiteDatabase does not have a close function

The class SpatialiteDatabase does not have a close function. This could give problems with locking the database and use for next time. Simple add a disconnect function and write self.connection.close()

def close(self):
    self.connection.close()