[OEM-109] event locking changes, prescriptions are editable while in draft mode and API method to determine state.
[OEM-109] updated delete view
[OEM-109] view changes for event locking
[OEM-109] focus textarea on page load
[OEM-109] cancel delete bugfix
[OEM-109] disabled ability to print locked events
[OEM-109] fixed bug where user with readonly+print could not print prescriptions.
Merge branch 'hotfix/OEM-109' into release/1.6

Conflicts:
	controllers/DefaultController.php
	views/default/delete.php