KPI macros refactoring, percentage goal is added

Change-Id: I7e1463f0323c1e17fbdf9d677e926d0e31db7f27
Refactoring of KPI report to use JS template

Change-Id: I9ff660499b43c858a560057f955f682c96849974
Finished example of KPI report

* Common code is moved to base template
* Styles are made more accurate

Change-Id: I65e11143c3fbe9fc7d4e620a521f7e5b22763e46
Merge "KPI macros refactoring, percentage goal is added"
Merge "Refactoring of KPI report to use JS template"
Merge "Finished example of KPI report"