Move statement formatting into method from say()

so that it can be called independently
Format prompt before passing to JRUBY readline

When calling say() with a Menu
Show prompt when getting character in JRUBY
Fix cancel paging test to work with JRuby
Allow nil streams for JRuby 1.7
Track EOF in get_line for JRuby too
Add jline to valid CHARACTER_MODE list in tests
Merge pull request #84 from presidentbeef/fix_jruby_issues

Fix up some JRuby issues