insert or replace
Remove 'database2' hardcoding.
WIP for visibility.

Extracted YapDatabaseViewTransaction methods so that they can be overriden to point to view model tables instead of database2