Make Insert and Update using the same binding function.
Handle Exceptions during sync.

Fix deletion of guids by using ToLowerInvariant().
Update Insert script to actually return conflict result when key already
exists.