Use plugin API instead of weechat API

Wrote Weechat module to wrap around API and provide a less foreign
interface, for example, wraps CString arguments to String arguments.
Install Weechat module using cabal

Wrote register API function stub
example.hs now loads without error