Handle main flag for relations in vsup_ifis service
Created by: zlamalp
- Person can have multiple relations, we must determine, which is the main relation.
- Perform whole update in one transaction and rollback on exception.
- Fixed "LongReadLen" connection param, should be power of 2 (65530 -> 65536) in all related scripts.