Fixed bugs caused by multiply defining AMD modules - using upper case and lower case module names causes requirejs to instantiate the same module twice