WL#5818: Create interface for writing LOAD DATA to binary log

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

In this WL, we add an interface for writing LOAD DATA INFILE statements to the 
binary log.

TODO: design this.