CMS-4523 Look up of node by path after creation fails

Fixed wrong verification of template-folder
CMS-4523 Look up of node by path after creation fails

Added refresh-param for store of NodeStoreDocument