Change DeviceEnvironment from custom model to CI.
Merge pull request #423 from quamilek/environment_as_ci

Change DeviceEnvironment from custom model to CI.
Merge branch 'synergy' into synergy-scrooge