Add proper support for referencing msgpack and glog libs.

- Properly find msgpack and glog at configure time using available include and library paths.
- Use existing find_package mechanism for gtest
- Require CMake 2.8