Added failing test for basic subList functionality.
subList toIndex should be exclusive. Fixes #1274.

Issue at https://github.com/jruby/jruby/issues/1274
subList size should be toIndex - fromIndex.

Related to #1274.
Tests pass now.
Merge pull request #1292 from masover/master

subList toIndex should be exclusive, not inclusive. (fromIndex is inclusive.)