WL#5779: Replication slave interface

Affects: Server-5.5   —   Status: On-Hold

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].

In this worklog, we define an interface for the replication slave. We only create 
a class that groups together the functions that the core server needs in order to 
execute slave-related commands. The interface will contain all functions we need, 
but the function prototypes will not be in their final form. In particular, 
unstable structs such as THD will be passed as parameters. In future worklogs, we 
will change the function prototypes.