Fix errors on form questions remove

* **Change the way ids are passed to db query.**
Ids were joined with comma and passed to sanitation. That caused incorrect sql queries, e.g. 
```...msqID IN ('1,2')...```
Fixes issue https://github.com/concrete5/concrete5/issues/1574
Now those are not passed via sanitation as they are passed through intval in previous lines.


* **Fix incorrect variable name in auto.js, throwed an error from undefined variable.**