Pages should be 'locked' when a user starts editing a page

If any other user (or the initial user, in a new tab) starts editing the page,
they should receive an alert that the page is being edited and to proceed with
caution.

Fixes #364