Integration with Travis CI

Added .travis.yml & fixes for ci build.
See https://travis-ci.org/leecoder/cpp-netlib/builds/29117692