Reproduce Issue 402

This pull request aims to reproduce bug #402 on a GNU/Linux system (i.e. on Travis CI).

I changed '\n' to '\r\n' in ``` jedi/evaluate/imports.py ```  to reproduce the behaviour I observed on Windows. I also added a test which should reproduce bug #402 in ```test/test_regresion:test_bug_402```.