Refactoring DocumentController

Fix Cs for line exceeds 120 characters with slugify method
Move some traitements into Form to generate fieldsets and elements.
Fix Cs for Blog module.

Issue: #215