HPCC-12290 Reimplement jarray using templates

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
ok, I think I thought that where this was used (HqlScopeArray) was a new array type and only needed the typed version.