Replace weechat-protocol.js with weechat.js

...from https://github.com/eirikb/weechat.js  
I know @torhve has a lot of commits ahead of master, but they should merge fine with this. To not push all those changes from my fork its easier to just push one single commit