[npm] Use phonegap-build-api instead of phonegap-build-rest.