Use JS Rho Api to quit the app rather than Ajax call to Ruby method
Merge branch 'master' of https://github.com/rhomobile/RMS-Testing