Fix bug in phonegap_plugin's logic for copying java files. Simplify output name of phonegap JS lib.