Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs.

Add mocking of check_version method that have ran dnsmasq process to retrieve version

fixes bug 1200698

Change-Id: I6476d62bc4394bdf9701a2aa26a435f8bcb00d0d
Merge "Fix TestDhcpAgentEventHandler test that fails in some Jenkins runs."