Incorporated collections into prelude & updated build.

A large number of changes consequent on incorporating collections into prelude.
Significant changes were necessary to the libraries and the build system.
Tarball now hosted at web.cecs.pdx.edu/~grace
Various other bugs were fixed in the process, including missing asDebugString methods in the
C library and various discrepancies between the C and JS implementations.
primitiveArray was given a sort method, which can in future be used to provide
sort methods on other collections.