Sort out requirejs paths...

so modules get loaded properly from tests & main code.

+ by default, the base url for resolving dependencies is the folder of the main file specified in data-main ('js' in my case)
+ So, paths in the actual code should be specified relative to this...which usually means they don't need a path as most of my JavaScript will be in this folder. Nice :-)
+ I need to specify a baseUrl configuration option for the tests so that it will resolve the paths in the actual code to the same location (baseUrl: 'js' in my case)
+ So, paths in the tests should be specified from this base also.
Fix possible null exception

if the document doesn't contain a container element.