Added unit tests for read method of IO class
Added fix for read method with unconventional readers
https://jira.codehaus.org/browse/GROOVY-7132