Extract isUrlWithSha to utils

npm and cordova plugins code use it
Corrections to "change plugins" cordova test
WIP on test and cordova commands