Use cmake for build system.

Adds cmake as a supported build system. Primary benefit is allowing for out of source builds and removes dependency on Qt Creator / qmake.