Remove redundant parentheses in if statements.
Replaced occurrences of "#" plus a nonspace with "# " plus the nonspace, using https://gist.github.com/keithrbennett/58d12e9a12452b47032a.
Replaced "if !" with unless.
Remove redundant 'return's.
Prefixed names of unused variables with '_'.
Replaced 1.8 key/value => notation. minor refactoring of an options hash.
Added space around operators, parens around parameters.
Added Dnsruby.log_and_raise, and call it instead of (log, raise).
Fixed some "{ #" occurrences introduced by earlier text processing.
Replace double quotes with single quotes where possible. Add some vertical spacing.
Replace double quotes with single quotes where possible. Add some vertical spacing. Simplify some expressions.
Merge pull request #34 from keithrbennett/cleanup-resolver

Clean up and simplify resolver.rb.