CRAFTER-1289: Two users can edit the same content after unlocking
Issue: We are not checking if someone has the content locked when the form is rendered and we are unlocking the content every time that the page is refreshed regardless of who the lock owner is.
Solution:  
1. Check if somebody has locked the content -in this case we change to readonly mode
2. On the unload event and on click of the cancel button, check if the current user is the lock owner, in this case we unlock otherwise we don't unlock

Perhaps a better solution would be:
1. Modify the unlockItem service to check if the user that is trying to unlock the item can do it
2. Create a service that returns whether the item is locked and if so, who the lock owner is