Add missing return value from hooks.
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 pull request #31 from leftclickben/RelationshipGeneratorPluginReturnFromHookMethods

Add missing return value from hooks.
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
Refactor tests for better code reuse.

+ Create AbstractPluginIntegrationTest class for "plugin integration tests" and move all
  relevant code into it.
+ Refactor RelationshipGeneratorIntegrationTest to extend AbstractPluginIntegrationTest.
+ Update comments and test name in configuration test (extra bonus!)
Merge pull request #34 from leftclickben/RefactorIntegrationTestsAbstractBaseClassCodeReuse

Refactor tests for better code reuse.
Remove unused method.

This method was added during development but not used, accidentally left in for previous commit.
Merge pull request #35 from leftclickben/RemoveUnusedMethod

Remove unused method.
Fix typo only.

Fix typo in comment.
Improve documentation.

+ Give example of usage in derived class.