Cleaning of reporting (group_by, filters,...) and adding new favourites and defaults views (+ code cleaning)

Euh yeah, it's the same model as CRM Lead Analysis (it's here to have different views for leads and opportunities)