Saves the 'Device' object. Also performs queries for existing 'Device' and sets the relationship to the 'Characteristic' object. Coo stuff yo.