Toolchain

This patch adds some helper scripts to build a proper toolchain.  It also uses the toolchain to build the runtime and test program.  crt0 is also beefed up to handle static constructors, among other things.