filename is not used with builtins module

(cherry picked from commit 87e5305613450409b90fab04253df2bee7482345)
fixed EA-63213 - AIOOBE: ImmutableText.charAt

(cherry picked from commit 3a8bdac634c343f0460ce632fd04782b13a46147)
added logging for EA-62550 - NA: ErrorHandlerWrapper.createSAXParseException

(cherry picked from commit 190afa56b59ee8de5cf833b86b64a62c4532605d)
fixed EA-62042 - IOOBE: CallArgumentsMappingImpl.mapArguments

(cherry picked from commit 216aba865c76625342f55885c5680b7b67888809)
fixed EA-61979 - NPE: PyActiveSdkConfigurable$.consume

(cherry picked from commit a0165f64f290fbe707e539ea3f5e9a0b2b1d25aa)
fixed EA-61404 - assert: PyUpdatePropertySignatureQuickFix.applyFix

(cherry picked from commit e57dc3b675b27fe9527e4fcd87d1b0c6e60eb7e3)
Fixed terminal output color setting (IDEA-118842).

(cherry picked from commit 3b546fa69c122c1e146e35976cca3588ef53800c)
Update terminal on font change without restart (IDEA-132932).

(cherry picked from commit 74a27a43b939e3a218fe7ef2940f25a0d94a98c3)
Avoid NPE.

(cherry picked from commit d69c9628eadc61f935062048f27b61ea3038dd15)
Don't use deprecated method.

(cherry picked from commit 8e369c7c880dc22192c0aa826491cc2ddfe85214)
Update Jediterm fixing some exceptions.

(cherry picked from commit d4957a316d9fdcd001adcbd7c143422c34acb5f8)
Provide blocking read implementation.

(cherry picked from commit dac3f6c1f4a7986ef8a0cda1cb0aa51ac4e1318b)
Use blocking read for remote debug to be able to end reading when the end process finishes (PY-14493).

(cherry picked from commit bb181b61432ef05579b2c3a28aaae82e6cfe7e7a)
Redirect output by default.

(cherry picked from commit 0c81c8d13375f333e3388d53cbbf5fdeaec2e9fa)
Don't log error response from debugger as it is a normal message.

(cherry picked from commit f42beaa2eb6129d48ef1bc06e3952cf9f8ae08c9)
replaced String literal "UTF-8" with charset instance

(cherry picked from commit 6814553c6f11358e494ce6ef9afef15fccf9cbc6)
Avoid dead-lock reading debugger output: close InputStream while blocking read from StreamReader, don't close StreamReader.

(cherry picked from commit f0cb531b9459c2902b9aebe318b1eae11de09cf1)
PyCharm 4.0.3 EAP
Merge remote-tracking branch 'origin/139' into 139