Fix case parent issues

Can now specify parents type (if different than child) and a different
relationship on the case than parent_id.
Use parent type from parent_id lookup
Merge pull request #1524 from dimagi/importer-parents

Fix case parent issues