Added cmake files.

Pixie_scan can now be compiled with cmake. Not all options were ported.
Some dependencies may be missing.