Add test for terminal_size
Fix terminal_size for JRuby >= 1.7.0

to call get_width and get_height instead of
getTerminalWidth and getTerminalHeight
Merge pull request #80 from presidentbeef/terminal_size_jline

Fix terminal_size to work with jline2