fixes for the read method in java

RESOLVE Boolean, Integer and Character's java code all use the TextIO class. Problem is that when you hit enter and introduce either "CRLF" or "LF" (OS dependent), that gets consumed as the next input, causing an input read statement to incorrectly execute.

Pivotal Story: Read Operation Bug for Standard Types
Pivotal Story Number: #60513298