Updated `tests/tunnel-static.sh'

Scaffolding code no longer needed as it is handled by `module/unit'.
Overhauled `module/dns': rewritten from scratch
Updated dns unit tests
Updated `module/remote': cleanup

Removed the cfrun function which was out-of-place, and moved some
general ssh options to the top of the file.
Added remote unit testing