Update key when keylock changes.
Automatically update notations when the notation preference changes.

* Adds key_id column to the schema, version 19.
* Write key_id on track insert/update.
* If key_id is present when displaying track in library,
  instead of showing key string, format string according
  to notation preference.