[lib] minor pep8
[lib] services.dnsmasq: kill running dnsmasq server
[lib] utils: remove 300 first IP when using KaVLAN  as they are used by nodes