cleanup console log statements
Add lock flag for entities
Editing metadata fields is disabled for locked entities
However workbench metadata (project and locked flag) can always be edited
Towards uq-eresearch/AustESE#13 (resources still to be done)