Translation progress calculation

* Algorithm https://www.mediawiki.org/wiki/Content_translation/Progress_calculation
* Refactored all translation section changes to an event
  'mw.cx.translation.change'

Change-Id: I6193f732a2d611c80ebfbadb1e7576db60954730