use high-level api of cffi instead of compiling by self.
add basic test.
fix up the compatible problems in py3k.
add the travis-ci configuration.