Improve config/portability of sflow scripts

This makes sflow scripts more portable and configurable to improve controlability from init-scripts, etc. The only non-obvious change is $mactable becoming $pmactable. This was to avoid a subtle namespace bug I also hit (can't immediately remember where) because some other perl script already declared $mactable.