OpenWRT compatibility and misc changes

I made some changes so this script is compatible with openwrt (and other distros that use busybox). It also includes my other pull request, with the `ipset swap` command. Sorry about removing the custom blocklist file, I should have submitted this pull request before doing that.