Alter menu item markup in Drupal 8
There is one central problem: the active class is not always added in PHP, but 
for non-anonymous users its calculated using some javascript, see "active-link.js".
For anonymous users, its calculated in 
\Drupal\system\Controller\SystemController::setLinkActiveClass