Allows entities to be updated by using the 'REPLACE' keyword.

Using 'REPLACE' causes input rows to replace existing rows for rows
that have the same value for a primary key or unique index as an
existing row. This commit allows for that property to be toggled ON/OFF.
Merge pull request #24 from karkum/update-entities

Allows entities to be updated by using the 'REPLACE' keyword.