Change verify_sudo_session to check output instead of exit status

On recent versions of OS X (starting with 10.9.2?), `sudo -n true` always exits with a status of 0, even when the sudo session is unauthenticated. This change modifies verify_sudo_session to check whether `sudo -n true` produces error output instead of checking its exit status.
Pseudo 1.1.0