Fixed the plink task to the latest style

 * use double quotes, use bool methods, build params as arrays, postfix guards
 * print "user@" only if the there is a user (instead of @host when there isn't)