Added basic CMake build system.

This does not support Windows and MacOSX build.
Breakpad is also not supported.

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>