integrating pkg-config, cppzmq and fixing a number of gyp issues

This file will go to the samples directory on the near future