update to 2.2.6 (from svn 2.2 branch)

Change-Id: I016f3ffb3564fc79184bddd173135ab2156f9252
add mblen func

Change-Id: Ib80ee94d0dad6bf91df780c43fdce6694a4e3d19
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
remove old regex lib, unused

Change-Id: Ia7c20872887eea15c71fec3388a939a1a3c30a37
disable utf-8 config, not compatible with bionic

mb functions, and even simple strnlen is not compatible
manual checks should be added to prevent cursor inside
extended unicode characters.

vim implementation is correct, but not this one which
depends on ncursesw or slang

Change-Id: I5fea58bd00731ae2262763dce3ef2f0b054bbe1a
android: prepare simplified utf support

Change-Id: If3d194b79eb57c93f7ad26c4b5272066b2ee9035
fix some type warnings

Change-Id: Ifb153429f8129e4da35d7e3c3186e674e7330f8d
set tabs to 4

Change-Id: I9eff3e451143a744d5ddc466bacc19e29ffb0e57