Removed patch files from debian dir.
Changed deb package dependency in control file.
Fixed makefile to link with -lpthread.
Merge branch 'master' into debian
Added json-c info in shlibs.local.
Removed files that get auto generated in debian dir.
Added pkg-config build dependency.
Updated makefile with 'make dist' and 'make distclean' for building release tarballs.
Merge master to get updated makefile options.
Changed 'make dist' to build for master branch regardless of what the current branch is.
Merged in some more makefile changes from master
Added rule called buildpackage to debian/rules for creating a debian package.