Updated content view node publish logic

One of the parts effectively slowing down the publish is the generation
of the node metadata. This code moves the node publish operation to its
own task and separates it from the main publish operation to run in
parallel and not affect completion time.
Fixed a node env join issue
Merge pull request #3670 from parthaa/cv-node-publish

Updated content view node publish logic