Add CommonJS support; update tests for latest Bacbkbone