Made it work with boost 1.49, too.
Added missing include file.
Add CMake build files. Added the test cases that are working. Made them
work in a single file to execute all the unit tests. Add the project to
the Travis CI system.
Ignore CMakeLists.txt.user file for git.