Fixed updating conditional imports on moving a module from a packge to top-level (PY-13870)

(cherry picked from commit 526bf1f13966e94a69457e694f909e9687c4804d)
Fixed selecting the corret item from an import suggestions list after filtering (PY-11697)

(cherry picked from commit 3c97345d7007b163c11045a3a7d9399abccc86c7)
Merge remote-tracking branch 'origin/139' into 139
cosmetics

(cherry picked from commit bfc6369a1d511ec217b5eb63a0fbceed601e72eb)
added debug info

(cherry picked from commit 7143157e2df2d1a7d9a2675cc014e3ac910bb6fc)
updated ipython notebook format to work with nbformat == 4

(cherry picked from commit 8501fbbecd003c0c84b4cbd5b53dc72480a17832)
fixed PY-13531 Stop executing $world when it looks like a python binary.

(cherry picked from commit 7a2e2cdbe871a3a12f0017385bb58fd69b3f0ff0)
removed json text view from ipython notebook

(cherry picked from commit a0bbeb1015de5ef8292491dc96442ac8b09bf55a)
cross-cell resolve to function declaration

(cherry picked from commit a6404312d55ebcf837686468609a9ec22fccf77b)
fixed connection error in ipython v 4

(cherry picked from commit 077151f6b0ae0aaceac32c79dd06f1a107fa1720)
added icon for remote python sdk

(cherry picked from commit a8c9a9e65dcbec4bcb890466d221f630c23dbe9b)
use icon for remote python sdk in cell renderer

(cherry picked from commit a8eb18ba5ad4999db0c7ddba185ad16d59de9563)
remote python sdk flavour should be used for vagrant interpreter

(cherry picked from commit 89f31aabf388628df09a3d6cf9b94572354cdc0f)
fixed PY-14433 Fill Paragraph: Invalid range specified: (504,502); Throwable at com.intellij.openapi.util.TextRange.assertProperRange

(cherry picked from commit ee299a720ad541ef8ddffd299e37407c1938f14b)
updated ipython output cell notebook format to work with nbformat == 4

(cherry picked from commit 1e3a1168f5fcb6c312b4de43ccc84ad8cce57cc8)
move java logic to python side
load meta data for array in first request

(cherry picked from commit fbb16cf0fcb19c9df894de5acf448f6cf04afc87)
Execute selection in console should use debug console when it is active and console view is hidden (PY-13712).

(cherry picked from commit b0a7d4b1841d96d80daa78d6203c7f871bae967d)
Don't change focus if console already visible (PY-14411).

(cherry picked from commit 32b3cbe0c6f92c1794b1e68e61a71b91b7502f18)
enable Inspect in debugger for long string attributes

(cherry picked from commit 0fac3a17ff60085daaee9bfc18a5d7c2440bb206)
use array Evaluation Expression (now works for dicts, tuples, etc. PY-14421)

(cherry picked from commit 3d7d10faf3f127254676442729a2c2c3685a6a01)