Add headtail_swap option.
Recactoring.
Fix a bug on cache.
Separate searching engines to independent functions.
Fix functions s:forward_search() and s:backward_search().
Add swap_head_tail option.
Fix a bug on the operator-pending mode.
Refactoring.
Countermeasure for the encoding recognition problem.
Merge branch 'new_opt'