Fixes #4465 - Added autoFocus to #shareWith autocomplete options

https://github.com/owncloud/core/issues/4465

also added a couple of missing semi-colons to stop javascript warnings