WL#5789: Replication master interface

Affects: Server-Prototype Only   —   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 master. We only create 
a class that groups together the functions that the core server needs in order to 
execute master-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.