rewritten the queries for speed and reorganised the code for readability
consider kingdom & point of view in the trade stats query
Merge branch 'speed_up_dashboard_stats' into develop