Rollup for mochitestification

A bunch of fixes here required for mochitestification. Most of them are related to switching from cuddlefish to the native loader for running tests.

Some comments:

nodeResolve has a different method signature to resolve. First it accepts more parameters but that is easily wrapped. It can also return undefined when resolve never can, is that intentional and should we fix it? I wallpapered over it in sdk/test/loader.

mochetestified tests don't install as an add-on we just load the modules bare from the file system so a few tests are moved to testaddons where we are really testing packaging behaviour.
We should have a comment here saying why this is necessary (because the extra slash when using the loader directly or whatever)