Add email verification to the metrics that go to kpiggybank.

fixes #3528
Send /wsapi/stage_* events to the KPI backend.

* Add tests in tests/kpi-test.js to ensure both staging and completion events are added to the queue.

fixes #3920
Merge pull request #3968 from shane-tomlinson/issue-3528-email-verification-metrics

email verification metrics