switching to q promise library
switching to q promise library
switch to q promise library
fixed case, and added test, where platform commands are accepted for platforms which don't exist