Proper endpoints for persistent notifications

closes #2637
- Add new get API route for all notifications
- Wrap API responses to comply with JSON-API
- Add new tests / adjust fixtures
- Adjust all occurences of passive notifications
Merge pull request #2665 from halfdan/2637-persistent-notifications

Proper endpoints for persistent notifications