Fix for node's role discarded to Unallocated if change node name on Add node page

added check for renaming to update roles before scheduled update

Change-Id: I12cb4c333ccaede2691e64baa7cb88eae226094f
Closes-bug: 1317107
Merge "Fix for node's role discarded to Unallocated if change node name on Add node page"