Added lock and visibility functionalities in edition view.
Add lock, unlock, set visible and set invisible actions.
Added provisional buttons for use the new functionallity.
Merge pull request #795 from gorco/LockAndVisible

Lock and visibility functionalities