remove octet_compare

strcmp provides the same functionality
refactored autocomplete_add

Now this function responsible for memory allocation
refactred autocomplete_remove
removed strdup in autocomplete calls
fixed crash because of incorrect string releasing
Fixed compiler warning in test_autocomplete.c
Merge remote-tracking branch 'dmitry/fixes'
Merge branch 'master' into otr