bug-fix: adjudication bug fixes

- ranked word adjudications must handle primary and intrusion
data independently accounting for the presence/absence of one or
the other
- simplify confirmation adjudicates
- throw exceptions in test_entry_new when adjudicate submissions
contain insufficient data
bug-fix: wrong jscript test for assoc array empty

- use length of array key to test for empty associative array
performance improvement

- speed up assignment allocations by fetching all
assignments not assigned to the current user and searching
for one that has only one user assigned for a participant
perf: improve assignment allocation time

- do a pre-fetch of existing assignments that have a group by
participant_id count of 1
- in the regular long fetch that searches for participants never
assigned, try to speed the search by excluding all participant id's
that have two cedar assignments
Merge remote branch 'origin/release' into qa

Conflicts:
	api/ui/push/assignment_new.class.php
	tpl/test_entry_confirmation_adjudicate.twig
	tpl/test_entry_ranked_word_adjudicate.twig