Fix some byte-compile warnings

- declare functions for not loading module(popup-el, pos-tip)
- declare variables which are used as buffer local variable
- Use backward-delete-char instead of delete-backward-char
- Fix demo