Adding support for redis based event notification.
Added doc directory
updated ignore to not look at dpkg build-stamp
Adding output directory to make it easier for autobuild
added thread exit for web thread
Switched arguments to calloc as per manpage it's # of elements * sizeof