Remove explicit array_contains where extension, use contains instead

Removed the array_contains where extension and changed the existing
contains extension to check the type of the column. It will use either
array_contains or the INET contains depending on whether the column is
an array or not.