Improve HexChat formula

- Use newer release 2.9.6.1
- Fix building HEAD

Python on HEAD still has issues for me but I didn't touch that as I'm not very familiar with the mess that is Python on OS X. Also optional Python 3 flag should be added.