Added cmake support (using makefile generation similar to czmq).
Merge pull request #161 from mditzel/master

Issue #160: added cmake support