Do not close System.in when using DefaultConsole
Merge pull request #161 from jmassenet/issue_console

Do not close System.in when using DefaultConsole
Use valueOf() instead of parseXXX()

To eliminate auto box/unbox in primitive type converters.