Add version check around emitting Protocol config

The Protocol config directive only got added in version 5.4. We need to
check whether the current collectd installed meets or exceeds this
version before we output the config.

I have added two tests to check the version before and after 5.4