dnsbl: test coverage

this PR changes no features. It does only:

1. consolidates duplicated code into should_skip()
2. adds test coverage for dnsbl.js and dns_list_base.js