libreddit: Allow header to be included with C++ code

This patch allowed the reddit.h header to be used with C++ code, via the
addition of extern "C" {} around the code if the __cplusplus flag is
set.
Merge pull request #61 from DSMan195276/cplusplus-fix

libreddit: Allow header to be included with C++ code