PROV-845 Fixed handling of List attribute lookup fields in advanced search forms

For more info see pr/88
PROV-845 Hopefully fix the advanced search list attribute lookup issue for good

We never actually need the "{".$pa_options['element_id']."}" kind of
placeholders in the form elements when dealing with a search, so we
don’t bother inserting them.
NOJIRA fix warning
Merge branch 'PROV-845'
PROV-852 Fix js errors
Merge branch 'master' of github.com:collectiveaccess/providence
NOJIRA update search indexing to handle related idno's
Merge branch 'master' into pluginScripts