added in official AMD support
added in requirejs as a dev dependency for node tests and got the amd test working in node