Load all subproject data at once
One code to calculate current percents

- It can be shared for subproject, project and language.
- Much faster as it fetches just once from database instead of fetching
  every value separately
Fix spacing