[fix] Replace all require calls with Primus.require which detect requirejs shizzle