CordovaSim refactoring (BrowserSim's code reuse); created cordovasim.ripple plugin, moved ripple into it