Update connect.py

Fixing a bug on windows 7 32 bit : 

[IPythonQtConsoleApp] ERROR | Could not setup tunnels
Traceback (most recent call last):
  File "C:\Anaconda\lib\site-packages\IPython\consoleapp.py", line 304, in init_
ssh
    newports = tunnel_to_kernel(info, self.sshserver, self.sshkey)
  File "C:\Anaconda\lib\site-packages\IPython\kernel\connect.py", line 364, in t
unnel_to_kernel
    password = getpass("SSH Password for %s: "%sshserver)
  File "C:\Anaconda\lib\getpass.py", line 95, in win_getpass
    msvcrt.putch(c)
TypeError: must be char, not unicode
[IPythonQtConsoleApp] Exiting application: ipython-qtconsole
When calling getpass,
TypeError: must be char, not unicode
Keywords should shadow magic functions
Disable autocall for prefilter test
catch unicode error listing profiles

there can be garbage files on the filesystem, and we shouldn't be bothered by them.
add LazyConfigValue

exposes container methods on container traits, to be lazily evaluated.

Specifically:

- append, extend, insert on lists
- update on dicts
- update, add on sets
AttributeError check on config no longer works

use new `'Class.trait' in config` check
update bundled profiles to use extend
AttributeError no longer raised on missing config
add LazyConfig.prepend
Fix scrolling output not working
by adding a conditional for the append output
height reset.
Remove an unreachable return statement.
traits defauts are strings not object

fix #4299
Merge pull request #4297 from abhinav-upadhyay/unreachable-code

Remove an unreachable return statement.
Merge pull request #4300 from Carreau/fix-4299

Traits defauts should be strings not object
use netifaces for faster IPython.utils.localinterfaces
parse ifconfig / ip addr / ipconfig in localinterfaces

also typically faster and more reliable than gethostbyname,
but lower priority than netifaces.
Add -r option to %load. Applying a new patch ignoring whitespace changes
removing incorrect comments
better docstring for the -r option
Merge pull request #4295 from mgaitan/1093_boundary_load_magic

Implement boundary option for load magic

`%load -r 1-10` now does what one should expect.

closes #1093