Ayp fixes

Some fixes that make this script more configurable.

It also sends permalinks to the site into IRC now. Because we can do that as of https://github.com/desert-planet/ayp/pull/1