Fixed an issue with the host name (record) filter caused by an invalid key name.

Also expanded the filter so that it could support asterisk wildcards.
Fixing DNS unit tests.

The mock dictionary that was being created did not properly represent the data being returned by the API. I suspect this was the cause of the invalid key error that this branch was created to fix.
Removing excess whitespace caused by Emacs formatting
Removing extraneous whitespace