build configurations for Travis
build configuration for AppVeyor
CB-7124 Wrap the cordova platform string in Platform object

This prevents having to duplicate the check whether the platform string
specifies a version or not.

github: close #61
Merge branch 'travis' of https://github.com/sgrebnov/cordova-lib
Merge branch 'appveyor' of https://github.com/sgrebnov/cordova-lib
test