README: add .md extension and build status badge
SConstruct: remove detection of "dlfcn.h"
pinyin/segmentor.h: fix comparision operator

* fix a bunch of sign-compare warnings