WL#5817: Create interface for replication filters

Affects: Server-5.5   —   Status: Un-Assigned

This is a step towards making replication a library, such that the 5.6 rpl-
lib can be plugged into the 5.5 core [WL#5675].

Replication filters need to be defined in rpl-lib and accessed from core. The 
purpose of this worklog is to define a minimal interface for this.

TODO: design this