Classifications by "root" also provide extra InvoiceRows

* Extract hasRole from meku.js to shared/utils.js
Game classifications don't have a duration at the moment