Refactured Analyse process with hooks.

Mediamosa_tools can implement a hook_can_analyse() based on mimetype and
a hook_analyse() to perform the actual analyse. These functions provide
technical metadata that are stored in mediafile metadata.