Add missing declarations/includes for MoleQueue/QJson.

Change-Id: I0a4d01eb9e8629ced829735b052e444f083090b5