Port of MWPhotoBrowser as a Cordova plugin