Update tests to conform with tragical new OCD-triggering reality.

A doc unit was added called 'm19' which doesn't match the existing
naming scheme. I'm not sure I can deal with with this.
Fix editing and deleting of inline block annotations
Yet more work on notes.

 - moved lots of templates around
 - added a conf setting for default moderator groups
 - add moderator visibility when creating a public note
 - switch isPromotable to isPrivate for notes and default it to true
Fix typo in PostgreSQL name
Merge pull request #481 from pbowyer/patch-1

Fix typo in PostgreSQL name
Small styling tweaks to note buttons etc
More tedious refactoring of inline note display.

 - attempted to simplify markup
 - moved visibility toggle for other people's notes to the header
 - improved styling and icons for inline notes
 - added custom JS to show/hide note bubbles

The description notes still need work.
More tedious refactoring of inline note display.

 - attempted to simplify markup
 - moved visibility toggle for other people's notes to the header
 - improved styling and icons for inline notes
 - added custom JS to show/hide note bubbles

The description notes still need work.
When an annotation is edited, check if its visibility should have
changed and update if necessary.
Change the name of the moderator to match the fixtures
Add a test for changing annotation visibility
Variable renaming
Merge enhancements to note-promotion and visibility.
Tidy up some messy admin bits and add update form for annotation.
Disambigate item- and description-level identifiers and their i18 names. Fixes #482
Add an example of using Cypher to fix something
Gah, fix formatting
Not having much luck with this markdown thing...
More detailed notes
Stick a delete link in the note list (for moderators) and info about accessors/promoters