Update JavaFileObjects.forResource to support jar URLs

This addresses issue #4.