CB-6329 improve 'cordova info' command

https://issues.apache.org/jira/browse/CB-6329
info.js file has been modified to work mainly asynchronous.
Added info-utils, which contains several useful functions required by
info.js
-It doesn't require a template to set an output.
-getNode, getCordova, doPlatforms works asynchronous, works with
callbacks and deals with errors.
-it writes a report (info.txt) in rootProject.

This changes are required for futures improvements.