Patch Set 5:

Now I have added the org.eclipse.egit.mylyn plugin. So you can see the full usage of the ICommitMessageProvider extension.

Additionally feature I have added is the use of a project specific commit template. For this you must enter the project properties and add a template at Task Repository -> Commit Template.
Andf -of cource - you must add a query in mylyn and activate a task :)