Began to implement API

Wrote API wrapper file weechat-haskell-api.c
Wrote API foreign import module