Changes towards enabling search to be extended by Media bundle

This PR:

- allows SuluSearch metadata objects to be modified by event listeners.
- prepends a configuration to MassiveSearchBundle to use a custom Factory object so that we can create our own (Sulu) classes.

This is required to enable bundles such as MediaBUndle to remain uncoupled from SearchBundle.

Depends: 

- https://github.com/sulu-cmf/sulu/pull/260
- https://github.com/massiveart/MassiveSearchBundle/pull/10

If we do this then we also need to un-index non-published documents.

I wonder if it would be better to index the published state --  but that would require some refactoring probably.