Replace autoconf with scons; Some test issus fix; Add travis-ci yaml file.