Bug fix in trigger replication.

CREATE TRIGGER IF NOT EXISTS had a crash when replication is turned on.
CREATE OR REPLACE was not written properly in the log.
Replication test cases for all objects.

Added replication test cases for all objects (except event).
The naming convetions for the files is rpl_create_drop_<object>.test.