[pig] Enforce write permissions on the shared scripts

Display an error message and hide the save button if no write permission.
[oozie] Fix delete button misrepresenting the correct permissions

In Workflow, Coordinator and Bundle editors
[core] Adding autofocus on username field on login

IE10 and other browsers
[impala] Hide system database from the main editor dropdown