Added hook_entity_preembed() to allow modules to alter the entity before it will be rendered.
Fixed invokeAll() needs an array of parameters.
Merge pull request #35 from drupal-media/entity-pre-embed-alter

Added hook_entity_preembed().