got the first amd module loading correctly
moved the intensity stuff out to a module
moved all of the quad code inside the main require so that it is easier to move it into amd modules
use requirejs so that we will be able to inject dependencies while testing, use a local espruino process to fake the espruino