Jparray primitive improvements

This PR improves the speed of sliced array access by the factor of 10. Its currently only implemented for primitive datatypes, since I needed fast access to them. Works for me and my testcases (which I should really integrate into the provided testsuite). The access pattern is stolen from apache JCC. I've checked with valgrind that no memleaks occur. But please test it before merging it!

Thanks