Split nsqd app

The changes in this PR split the nsqd application into an executable and a package (called nsqd), in the same manner as nsqlookupd.