add chanopen
add chanclose
use chanopen in chancreate
hush warning in chanclose.c
use chanclose in chanfree
makefile: inc version