add failing test for parent ref
add reference_id property and update xml generation
add reference id to UI
unused variable
Merge pull request #1589 from dimagi/ref-id-customization

add ability for remote apps to manually specify index reference ids