Refactor some code out of JRubyPlugin and create a JRubyWar task

Fixes #24