Fix and update query for bug 1295808

This change does two things:

1. Updates the existing query since it was hitting
   on way more things than just EOFError, it would
   basically hit on any paramiko ssh error in
   test_security_groups_basic_ops.

2. Adds a check for EOFError in the
   test_volume_boot_pattern test.

Change-Id: Idceaefa22d16a4be725ebae584e0d7ec65f6b6c2
Related-Bug: #1295808
Merge "Fix and update query for bug 1295808"