Fix various unsafe string handling in fkeys

Also removes the 2048 input byte limit
And fixes utf8 completion chars in some cases
Use gboolean for bools
Respect servers chantypes and nickprefixes when tab completing

Closes #441