fixes login in Ripple when org.apache.cordova.device plugin is also installed

Fix adds more robust way to detect Ripple and use correct login mechanizm.
Incremented plugin version