fix code-review findings

- rename Device to Installation in test-server/index.js
- rename InstallationModel to Installation
- make Installation.getDeviceType() readonly
- remove Installation.getBadge()/setBadge()