user/name unique for device
unit is nullable, name for an atom must be unique for device
made migrations
refactored models, remigrated
Merge pull request #10 from caseymacphee/models

user/name unique for device