Adding support for jRuby.

I have added support for jRuby. It was mostly the testsuit that didn't run. Also needed to exclude rmagick specs for jRuby because it doesn't have any C extension support. Please be gentle this is my first pull request ever to an open source project. :shipit: