gluegen: use explicit ArrayList constructor to avoid @SuppressWarnings and clone()

ArrayList.clone does _not_ make a shallow copy, a new internal array is allocated.
As such, there is nearly no benefit to using clone().

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: use enhanced for-loops in ArrayHashSet

Fixes an infinite loop in addAll due to the following line:
mod = mod || add(iter.next()) ;

After the first successful add, mod will be true and thereafter iter.next
will never be called again, due to || shortcutting.  the loop will then run forever
as any further elements will never be taken from the iterator, so hasNext will always
be true.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>