Add user id to session information returned to client
Add small style change
Skeleton splitting: test locking before dialog is created

The split/merge dialog won't be shown if the active skeleton is locked by
another user. This isn't done in the dialog itself, because the dialog would
already be visible in an unpopulated state.