Make dependency on drush optional

The CLI tool forces you to install drush (in the login command), but as far as I can see, this is not required (only needed for some commands related to Drupal).

This PR moves the check for drush only when drush is actually needed (I've also updated composer accordingly).