wp-cli command fixes: compat with wp-cli 0.11.2, fix activation bug, save project type (+1 squashed commit)