[R-Console] Add env var JAVA_HOME to Rterm console if available
[IO] Improve reading of files with BOM