Change structure of title generator plugin.

+ Use bundle hooks instead of label hooks, this enables modification of labels
  even when the user isn't adding or editing a label.
+ Labels are being removed and then re-added as editLabel() does not seem to
  work as expected.
Remove error_log() accidentally committed.
Change structure of title generator plugin.

+ Use bundle hooks instead of label hooks, this enables modification of labels
  even when the user isn't adding or editing a label.
+ Labels are being removed and then re-added as editLabel() does not seem to
  work as expected.
Remove error_log() accidentally committed.
Merge branch 'TitleGeneratorUseBundleHooks' of github.com:leftclickben/providence into TitleGeneratorUseBundleHooks
Plugin enhancements.

+ Use correct hook method to generate title when object is saved, with relationships, as a new record
+ Only call update() on record being saved when a label has been changed, and remove previous loop prevention mechanism
+ Remove hardcoded locale id
Change != to !==
Restore bundle hooks.

+ Restore bundle hooks in addition to hookSaveItem so that titles are always updated regardless of method of saving data.
+ Code cleanup, remove daggy method separators.
Merge pull request #32 from leftclickben/TitleGeneratorUseBundleHooks

Title generator use bundle hooks
Allow title formatters to apply to multiple types.

+ Change expected format of configuration for title generator plugin, so that
  a formatter specifies a list of types to which it applies, and a hash of templates
  to apply (keyed by label field name).
Plugin documentation.

+ Non-code changes only.
Merge pull request #33 from leftclickben/TitleGeneratorConfigRejig

Title generator config rejig