remove unused code
Adding unit tests
Merge from upstream
Phase out usage of Agent::GetInstance()
merge commit
Fix compilation error
Merge pull request #315 from praveenkv/master

Fix compilation error
Merge pull request #311 from manishsing/master

add UT cases
WARNING: Still does not compile at the moment

This is still just stopgap and requires some rewritting.

Changed blocks of code/scripts/text are preceeded by
.de.byte.breaker (to be removed when finished).
Another fixes and stubs that shall allow compilation on FreeBSD
(but still does not)
Another set of fixes that pushes compilation a little bit
further.
Another set of changes that move complete build on FreeBSD
possible. Still does not compile due to the problem with libthrift
not generating the asio libraries...
scons: Fix FreeBSD platform checking.

We want every FreeBSD to mach the condition statement not only the
FreeBSD-10.

Also fixes make/gmake invocations.
scons: Temporarily disable tests for the Agent from build.
Linux code stubbing after merge.