Merge pull request #1 from dbeck/master

add makefile and .gyp file to be able to build as a standalone lib
service discovery through svc_config; adding empty diag.proto
align metadata with the Kinds->Kind change; make and gyp file changes to integrate svc_config