Fixed build for Travis CI

Travis build is now fixed.

What it does:
 * Sets up all the required dependencies with boost and yajl libraries built from sources;
 * Runs ./autogen.sh && ./configure && make && make check

All the unit tests succeed on Ubuntu 12.04 (image used by Travis CI).