add the missing sys module
the sys module should be imported at the top
or the ipython setcion will be fail for not founding sys
Merge pull request #7 from timtan/dev

the ipython section need the sys module