CB-6211 'cordova info' command fixed for Windows platform

Reference to JIRA issue CB-6211, the cordova info command it doesn't
work.
Cause by:  Carriage return or new line.

Fixed removing that carriage return from the var 'type'.

github: close #137