IDEA-99152 'Reformat code' option in a commit window does not honour chosen code style settings

Treat 'reformat on commit' at the same way as usual 'reformat'
spring templates
better headers presentation in HTML5 Outline view