opsin 1.5.0: Use write_jar_script

Instead of manually writing a shell script to call the opsin jar, use write_jar_script provided by homebrew.
opsin 1.5.0: Added HEAD option