Merge xchat r1525

Fixes possible crash
Python: Add support for attributes in hooks
Python: Use keywords for attributes in emit_print()
Python: return hooks with PyLong_FromVoidPtr

Fixes #685
Move optimization settings from all subsequent projects to hexchat.props
Replace search window with a searchbar
Replace search window with a searchbar
Update POTFILES.in
use GDK_KEY
Translate -ize to -ise, favor[ite] to favour[ite], Behavior to Behaviour
Fix logging networks with invalid names on Windows
Fix xtext crash in rawlog/text events window

Closes #740
Convert project files to vs2013
plugins: fishlim: VS2013 comes with a working stdbool.h
Fix searchbar loading highlight all pref on start
Searchbar: Don't show error on empty string
Add message arguement to /query

Closes #757