6.x drush patch ports

Porting a bunch of drush related patches - neither bgm or I could see anything drupal version specific but would appreciate someone else running their eyes over them