pidgin/pidgin

Create PurpleIRCv3Capabilities for managing capabilities for each connection

This implements everything in capabilities version 302 except for handling the
NEW and DEL commands from the server. I'm not sure how we can test that yet,
so we're ignoring it for now.

After the server has told us about all of the capabilities it supports, we
explicitly request cap-notify which we implictly request when we send
CAP LS 302. This is mostly to test our code and might be removed in the future.

Testing Done:
Connected to my local ergo and used ngrep to verify that everything was being sent correctly.

Reviewed at https://reviews.imfreedom.org/r/2100/
af
am
ar
as
ast
az
be@latin
bg
bn_IN
bn
br
brx
bs
ca
ca@valencia
cs
da
de
dz
el
en_AU
en_CA
en_GB
eo
es_AR
es
et
eu
fa
fi
fr
ga
gl
gu
he
hi
hr
hu
hy
id
it
ja
ka
kk
km
kn
ko
ks
ku_IQ
ku
lt
lv
mai
mhr
mk
ml
mn
mr
ms_MY
my_MM
nb
ne
nl
nn
oc
or
pa
pl
ps
pt_BR
pt
ro
ru
sd
si
sk
sl
sq
sr@latin
sr
sv
sw
ta
te
th
tr
tt
uk
ur
uz
vi
xh
zh_CN
zh_HK
zh_TW