Added failing test for basic subList functionality.
subList toIndex should be exclusive. Fixes #1274.
Issue at jruby#1274
subList size should be toIndex - fromIndex.
Related to #1274.
Tests pass now.
Well, that's embarrassing. I can't reproduce that build failure on openjdk7, and I don't see how my patch could've caused it. I can try to reproduce on oracle's jdk...