Add Cmake build system

based on https://github.com/jdtaylor/bitcoin-cmake

TODO: add miniupnpc and qrcode

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>