Make arrays universal

Added Tools, stuck a few util-like functions on it. Made Arrays
and ImmutableArray universal modules.