Clean up structure.

Break out anonymous functions into their own named functions for maximum
DRY.

Add error messages when using nsqd-tcp-address without topics set.

Swap out custom HTTP logic for the lookupd package's implementation.