Set prior node while saving collection elements of node

* Now prior node is set while saving node's collection set. 

*  ```get_node_common_fields()```  --> Check is made to see if prior node already available or not for elements which are getting added as a collection and accordingly conditions added to update the prior node while saving collection elements of all type of nodes.