Kernel#fail should handle java exceptions

Fixes #1641
Process#spawn can accept arrays

This doesn't exactly fix the issue in #1651 but it at least allows it
to run now.
Merge pull request #1667 from atambo/fail_should_handle_java_exceptions

Kernel#fail should handle java exceptions