Ticket 13629 -- Add app and model class in <body> tag

Here is the fix for Ticket 13629 it contains
- evolution proposed in previous pull request on this topic : ​https://github.com/django/django/pull/158.
- enhancement to handle application and model class separately in all templates concerned
- test coverage of all evolutions