Extend sensor rails model validation to all fields
Fix error validating active: false due to the way Object#blank? is handled
Add client-side error handling and escape attributes in templates when possible