HTTP response format continued

@jehiah noticed that we didn't update `nsqlookupd` HTTP response formats in #330

took advantage of the opportunity to make the code a little more modular and reusable
oops. I've already started using the previous string. What's the reference defining ideal content type naming?