Ensure we're properly generating the generated/java directory before attempting compile JRuby code

Fixes #6
Add common RSpec code

Fixes #5