Adding Option to add unsaved Class to parent

sometimes it is nessacarry to mark the parent element 
(ex. a table row) as unsaved. So added an option to do so.