web: clean up add_device function, make better default names
web: clean up add_device function, make better default names

Resolves https://github.com/rettigs/cs-senior-capstone/issues/38

capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,capstone22-Pilight/cs-senior-capstone,rettigs/cs-senior-capstone,rettigs/cs-senior-capstone