Optional CLIBeater interface
Optional CLIBeater interface

add optional CLIBeater interface. Using a cast we can figure out a beat wanting
to handle some CLI flags directly (e.g. packetbeat). If a Beater implements
CLIBeater the CLIFlags methods will called on beater right after parsing the
command line flags.

yapdns/yapdnsbeat,yapdns/yapdnsbeat