modify form data to exclude unwanted params #312

After the introducing of jquery.bsmselect some useless data for relations were passed to form.
Now all relations data are in input/select with name data[]