merge gavim-client code into avim

avim core library is in rapit developmemt, the API will soon out-of
sync.