Make replication extension more robust (receiver)

- Fall-back to SYSTEM user/group when user/group does not exist for receiver
- Create missing collections
- Prevent re-replication of replication events

in all it makes the replication extension more reliable
code review has been done by LJO
coe is running in production already; this is a after-move-from-svn change