[CB-2785] Switch executeScript/injectCSS to call dedicated plugin methods

This supports the CB-2653 and CB-2654 pull requests for iOS and Android, respectively, and makes the plugin JS conform to the new native-side API.