Merge pull request #38 from sci4me/master

TerminalInputStream, system.in
Fixed TerminalInputStream.
Updated grin
Fixed bitops

Why were these move instructions there?
BufferedInputStream

Issues that made this not work before:

TerminalInputStream should have been overriding the byte array read
method to only fill until '\n'.

The iand instruction was incorrect, leading to the & operator always
returning the right hand side parameter.
Minor grin update
Merge pull request #1 from Yevano/master

Update from upstream