Add cmake + gtest.

This change is purely structural, no library or application code was
changed.

- Switched build system to use cmake, and added build system files to
  compile library (in two parts for testing, gallocy-core +
  gallocy-wrapper).

- Added gtest.
Merge branch 'cmake+tests'