Fix #2028 "Moving iteration up in a section template removes iteration"

- was happening when inserting element before element of same name
- insert point path was pointing to location after insert, not before
- fixed by using sibling index when available
- add test
Fix #1065 regression with data: scheme

- use of Connection had broken this, as Connection didn't support data:
- so added data: support to Connection