Initial checkin of new m3dev repository.

This is based on the tree from http://code.google.com/p/m3dev/
and a bunch of patches from myself, Travis, and Erik that have
existed in various development branches in various places.  On top
of that I started overhauling the build system, ensured everything
actually works on the m3debug boards again (and you can use a
m3debug board to completely re-image another m3debug board), removed
some random personal projects that were included and further tidied
things up.