Device model is required for devices. Fixes #108.
Moved device validation tests from the controller spec to the model spec.