Modified OC\DB\Adapter->insertIfNotExist to support NULL values

I came across this bug on my MySQL database. Hopefully this will not break compatibility with other databases I do not know.