move comment functions to comment_form plugin

a step towards #240
move captch and hitcounter functions