Common spending templates framework v2

Summary
Final version of the common spending templates framework, including clustering common spending patterns across different languages and abstracting their information into structured templates along with support for tools for automatic report generation and summarization (T4.3).