Check DB open in test
Added very simple modal for API token

Retrieving API token was too cumbersome. Now there is a tiny modal
showing it when username is clicked. Should implement a better user info
dialog at some point (e.g. for changing password if using local
authentication).
Take measured also into account in widgets

QA Reports has status "Measured" which was not being used in QA
Dashboard (so passrates etc. would look weird). The changes for each
widget are:

pass-rate-barchart:
- Reduce measured from total (QA Reports style, unclear why)

pass-rate-trend:
- Reduce measured from total
- Use toFixed(0) instead of parseInt to have the sum of tooltip values
  to be 100