Make Query use Users better.

Also remove some more parseHostname calls.
Merge pull request #262 from csmith/master

Remove some parseHostmask/parser usages.