Fix Q.end -> Q.done in adhoc runner
Fix preloading

This fixes some logic in figuring out whether to issue a script request
for a package.json in production.