Updating ripple source code (master 0.9.16) with cordova 2.5+ support