Fixes incorrect selector when multiple levels of nesting are present.

Uses direct child selector similar to how data-object-id is obtained a couple lines before.
Merges master change to search only for [data-form-fields-url] in direct children of a repeatable list object.
Adds safety check to search.jsp inline JS to prevent infinite looping in error cases.
Changes jquery.popup.js options.parent to be dynamically set to $(‘body’) if not specified