Added filtering mechanism to ignore changes generated by the plugin.

All changes to the world are not added to relevant ignore lists and
callback handlers for events ignore them to avoid circular updates. As this
disables our synchronization mechanism, added relay functionality into
handlers for the synchronization messages arriving from other sync nodes.