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.