Add tests for stats app.
Add generic MEDIA_URL and STATIC_URL in stats middleware.
Beginning of contact app's tests refactoring.