wp-cli command fixes

compat with wp-cli 0.11.2:
wp-cli doesn't fire admin_init anymore with the latest release, so the recommended plugins array would be empty

fix activation bug:
$activate var was overwritten in the loop, so it would stop activating at the first plugin not recommended for the specified type 

save project type:
when using wp-cli command to install plugins the proj type wasn't saved so it would ask anyway when using wp-admin for the first time