add a counter to XTemplate unique div id's
test fix
fixes introduced bug where error produced when clicking the 'Select >>' button
tests for encoding and decoding
Merge remote-tracking branch 'origin/master' into issue-848
Merge remote-tracking branch 'origin/master' into issue-848
tests fix and white space removal
review changes
Merge pull request #894 from aodn/issue-848

Ensure search results XTemplate have unique div id's