Fixed queries and added new charts

Fixed duplicated CCGs (by removing sha code from query)
Removed closed GP practices (added function to filter them out)
Adjusted y-axis and legend colours in charts to match the new spend data
Added time series charts and a histogram.